Browse Source

Removed the ABI setters since this is provided per layout anymore.

pull/86/head
triton 12 years ago
parent
commit
ebfb2c233b
  1. 2
      src/Parser/Parser.cpp

2
src/Parser/Parser.cpp

@ -491,7 +491,6 @@ void Parser::WalkVTable(clang::CXXRecordDecl* RD, CppSharp::AST::Class^ C) @@ -491,7 +491,6 @@ 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);
@ -513,7 +512,6 @@ void Parser::WalkVTable(clang::CXXRecordDecl* RD, CppSharp::AST::Class^ C) @@ -513,7 +512,6 @@ 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);

Loading…
Cancel
Save