From aeba55cb3c839dad60784aace05c2778e90465e5 Mon Sep 17 00:00:00 2001 From: triton Date: Sun, 4 Aug 2013 06:20:56 +0100 Subject: [PATCH] Remove the compile-time Clang revision checks for the new vftable APIs since they do not work. --- src/Parser/Parser.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Parser/Parser.cpp b/src/Parser/Parser.cpp index a1e9d57e..7a97431f 100644 --- a/src/Parser/Parser.cpp +++ b/src/Parser/Parser.cpp @@ -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) C->Layout->VFTables->Add(Info); break; } -#endif } case TargetCXXABI::GenericItanium: {