diff --git a/src/Parser/Parser.cpp b/src/Parser/Parser.cpp index 161a02b8..004c343f 100644 --- a/src/Parser/Parser.cpp +++ b/src/Parser/Parser.cpp @@ -486,6 +486,7 @@ void Parser::WalkVTable(clang::CXXRecordDecl* RD, CppSharp::AST::Class^ C) { case TargetCXXABI::Microsoft: { + C->Layout->ABI = CppSharp::AST::CppAbi::Microsoft; MicrosoftVFTableContext VTContext(*AST); auto VFPtrs = VTContext.getVFPtrOffsets(RD); @@ -507,6 +508,7 @@ void Parser::WalkVTable(clang::CXXRecordDecl* RD, CppSharp::AST::Class^ C) } case TargetCXXABI::GenericItanium: { + C->Layout->ABI = CppSharp::AST::CppAbi::Itanium; VTableContext VTContext(*AST); auto& VTLayout = VTContext.getVTableLayout(RD);