diff options
| author | bloodstalker <thabogre@gmail.com> | 2019-10-16 11:50:43 +0000 | 
|---|---|---|
| committer | bloodstalker <thabogre@gmail.com> | 2019-10-16 11:50:43 +0000 | 
| commit | c4ca9b2133ce760bc05de63751f1300d9209456d (patch) | |
| tree | 2ab104da2caae753cded48bba0c4d955d3dca1a4 | |
| parent | missed something (diff) | |
| download | cgrep-c4ca9b2133ce760bc05de63751f1300d9209456d.tar.gz cgrep-c4ca9b2133ce760bc05de63751f1300d9209456d.zip | |
llvm7 is ok now...
| -rw-r--r-- | cgrep.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| @@ -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, | 
