Kaydet (Commit) 75e24386 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Missed CLANG_VERSION for compilerplugins/clang/store/rtlconstasciimacro.cxx

Change-Id: I24d2dc570070a55f39dcd708eb7c47cd71dc0d02
üst a2dcac01
......@@ -34,7 +34,7 @@ class RtlConstAsciiMacro
bool VisitCXXConstructExpr( CXXConstructExpr* expr );
bool VisitCXXTemporaryObjectExpr( CXXTemporaryObjectExpr* expr );
bool VisitStringLiteral( const StringLiteral* literal );
#if __clang_major__ < 3 || __clang_major__ == 3 && __clang_minor__ < 3
#if CLANG_VERSION < 30300
virtual void MacroExpands( const Token& macro, const MacroInfo* info, SourceRange range ) override;
#else
virtual void MacroExpands( const Token& macro, const MacroDirective* directive,
......@@ -59,7 +59,7 @@ void RtlConstAsciiMacro::run()
TraverseDecl( compiler.getASTContext().getTranslationUnitDecl());
}
#if __clang_major__ < 3 || __clang_major__ == 3 && __clang_minor__ < 3
#if CLANG_VERSION < 30300
void RtlConstAsciiMacro::MacroExpands( const Token& macro, const MacroInfo*, SourceRange range )
#else
void RtlConstAsciiMacro::MacroExpands( const Token& macro, const MacroDirective*,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment