Browse Source

Remove the compile-time Clang revision checks for the new vftable APIs since they do not work.

pull/22/merge
triton 12 years ago
parent
commit
aeba55cb3c
  1. 2
      src/Parser/Parser.cpp

2
src/Parser/Parser.cpp

@ -464,7 +464,6 @@ void Parser::WalkVTable(clang::CXXRecordDecl* RD, CppSharp::AST::Class^ C) @@ -464,7 +464,6 @@ void Parser::WalkVTable(clang::CXXRecordDecl* RD, CppSharp::AST::Class^ C)
{
case TargetCXXABI::Microsoft:
{
#if SVN_REVISION >= 187409
MicrosoftVFTableContext VTContext(*AST);
auto VFPtrs = VTContext.getVFPtrOffsets(RD);
@ -483,7 +482,6 @@ void Parser::WalkVTable(clang::CXXRecordDecl* RD, CppSharp::AST::Class^ C) @@ -483,7 +482,6 @@ void Parser::WalkVTable(clang::CXXRecordDecl* RD, CppSharp::AST::Class^ C)
C->Layout->VFTables->Add(Info);
break;
}
#endif
}
case TargetCXXABI::GenericItanium:
{

Loading…
Cancel
Save