aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2019-10-16 11:50:43 +0000
committerbloodstalker <thabogre@gmail.com>2019-10-16 11:50:43 +0000
commitc4ca9b2133ce760bc05de63751f1300d9209456d (patch)
tree2ab104da2caae753cded48bba0c4d955d3dca1a4
parentmissed something (diff)
downloadcgrep-c4ca9b2133ce760bc05de63751f1300d9209456d.tar.gz
cgrep-c4ca9b2133ce760bc05de63751f1300d9209456d.zip
llvm7 is ok now...
-rw-r--r--cgrep.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgrep.cpp b/cgrep.cpp
index 663b8b5..1d80ccb 100644
--- a/cgrep.cpp
+++ b/cgrep.cpp
@@ -101,7 +101,7 @@ cl::opt<int> CO_B(
#if __clang_major__ <= 6
#define DEVI_GETLOCSTART getLocStart
#define DEVI_GETLOCEND getLocEnd
-#elif __clang_major__ >= 8
+#elif __clang_major__ >= 7
#define DEVI_GETLOCSTART getBeginLoc
#define DEVI_GETLOCEND getEndLoc
#endif
@@ -598,7 +598,7 @@ public:
const FileEntry *File, StringRef SearchPath,
StringRef RelativePath,
const clang::Module *Imported) {
-#elif __clang_major__ >= 8
+#elif __clang_major__ >= 7
virtual void InclusionDirective(SourceLocation HashLoc,
const Token &IncludeTok, StringRef FileName,
bool IsAngled, CharSourceRange FilenameRange,