summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-02-26 14:46:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-02-26 14:46:23 +0100
commit75e24386af32766b288bbd016e7595eacd33837e (patch)
tree34e7f8dd119a76eb3c27d5ac0afc365dfce07d64 /compilerplugins
parenta2dcac011a38294a6acb21ae7c69163fef6b4cef (diff)
Missed CLANG_VERSION for compilerplugins/clang/store/rtlconstasciimacro.cxx
Change-Id: I24d2dc570070a55f39dcd708eb7c47cd71dc0d02
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/store/rtlconstasciimacro.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/store/rtlconstasciimacro.cxx b/compilerplugins/clang/store/rtlconstasciimacro.cxx
index d52a147db98f..720f0e78adb9 100644
--- a/compilerplugins/clang/store/rtlconstasciimacro.cxx
+++ b/compilerplugins/clang/store/rtlconstasciimacro.cxx
@@ -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*,