Browse Source

Initialize size and elementSize members in native ArrayType.

pull/970/head
Joao Matos 8 years ago
parent
commit
ef3028bf35
  1. 2
      src/CppParser/AST.cpp

2
src/CppParser/AST.cpp

@ -64,7 +64,7 @@ QualifiedType::QualifiedType() : type(0) {} @@ -64,7 +64,7 @@ QualifiedType::QualifiedType() : type(0) {}
TagType::TagType() : Type(TypeKind::Tag) {}
ArrayType::ArrayType() : Type(TypeKind::Array) {}
ArrayType::ArrayType() : Type(TypeKind::Array), size(0), elementSize(0) {}
FunctionType::FunctionType()
: Type(TypeKind::Function)

Loading…
Cancel
Save