From db9796231b138ed90a06bb31e8cb6848fb5f32fc Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Fri, 6 Dec 2019 12:30:58 +0330 Subject: travis fix [appveyor skip] --- obfuscator/obfuscator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/obfuscator/obfuscator.cpp b/obfuscator/obfuscator.cpp index a28df21..7f0fa99 100644 --- a/obfuscator/obfuscator.cpp +++ b/obfuscator/obfuscator.cpp @@ -73,7 +73,7 @@ cl::opt SHAKE_LEN("shake_len", cl::desc("length of the shake hash, the #define TEMP_FILE "/tmp/obfuscator-tee" #endif -#if __clang_major__ <= 6 +#if __clang_major__ <= 7 #define DEVI_GETLOCSTART getLocStart #define DEVI_GETLOCEND getLocEnd #elif __clang_major__ >= 8 @@ -432,7 +432,7 @@ public: Rewrite.ReplaceText(SourceRange(SL, SL.getLocWithOffset(MacroNameTok.getLength() - 1)), newname); } -#if __clang_major__ <= 6 +#if __clang_major__ <= 7 virtual void InclusionDirective (SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, CharSourceRange FilenameRange, const FileEntry *File, StringRef SearchPath, StringRef RelativePath, const clang::Module *Imported) { -- cgit v1.2.3