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

Loading…
Cancel
Save