diff --git a/src/CppParser/AST.cpp b/src/CppParser/AST.cpp index 89a2abe5..55e4b6b9 100644 --- a/src/CppParser/AST.cpp +++ b/src/CppParser/AST.cpp @@ -78,6 +78,10 @@ RawComment::RawComment() : FullComment(0) {} VTableComponent::VTableComponent() : Offset(0), Declaration(0) {} +// VTableLayout +VTableLayout::VTableLayout() {} +DEF_VECTOR(VTableLayout, VTableComponent, Components) + ClassLayout::ClassLayout() : ABI(CppAbi::Itanium) {} DEF_VECTOR(ClassLayout, VFTableInfo, VFTables) @@ -415,6 +419,9 @@ DEF_VECTOR(TranslationUnit, MacroDefinition*, Macros) DEF_STRING(NativeLibrary, FileName) DEF_VECTOR_STRING(NativeLibrary, Symbols) +// ASTContext +DEF_VECTOR(ASTContext, TranslationUnit*, TranslationUnits) + ClassTemplateSpecialization* ClassTemplate::FindSpecialization(void* ptr) { return 0; diff --git a/src/CppParser/AST.h b/src/CppParser/AST.h index 3e9ca72e..4e040218 100644 --- a/src/CppParser/AST.h +++ b/src/CppParser/AST.h @@ -287,6 +287,7 @@ struct CS_API VTableComponent struct CS_API VTableLayout { + VTableLayout(); VECTOR(VTableComponent, Components) };