FunctionCall::FunctionCall():
- declaration(0),
- constructor(false)
+ constructor(false),
+ declaration(0)
{ }
FunctionCall::FunctionCall(const FunctionCall &other):
name(other.name),
- declaration(0),
constructor(other.constructor),
- arguments(other.arguments)
+ arguments(other.arguments),
+ declaration(0)
{ }
void FunctionCall::visit(NodeVisitor &visitor)
VariableDeclaration::VariableDeclaration():
constant(false),
- type_declaration(0),
array(false),
+ type_declaration(0),
linked_declaration(0)
{ }
VariableDeclaration::VariableDeclaration(const VariableDeclaration &other):
+ layout(other.layout),
constant(other.constant),
sampling(other.sampling),
interpolation(other.interpolation),
interface(other.interface),
precision(other.precision),
type(other.type),
- type_declaration(0),
name(other.name),
array(other.array),
array_size(other.array_size),
init_expression(other.init_expression),
- linked_declaration(0),
- layout(other.layout)
+ type_declaration(0),
+ linked_declaration(0)
{ }
VariableDeclaration::~VariableDeclaration()
return_type(other.return_type),
name(other.name),
parameters(other.parameters),
- definition(other.definition==&other ? this : 0),
- body(other.body)
+ body(other.body),
+ definition(other.definition==&other ? this : 0)
{ }
void FunctionDeclaration::visit(NodeVisitor &visitor)