diff options
author | Allen Winter <allen.winter@kdab.com> | 2021-12-11 14:57:52 -0500 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2021-12-11 14:57:52 -0500 |
commit | 0ee1ed9ff1bd4cf2a49e1232696747f1898e2987 (patch) | |
tree | a219cd664f3c8d60f16e63d26e78db8ed0ea4998 | |
parent | 827e0e1447e7a43a63dc73de061e56d3c5f5e1bf (diff) |
src/SourceCompatibilityHelpers.h - fix compile with LLVM<12
fix the GET_LEXER macro for LLVM versions less than 12
-rw-r--r-- | src/SourceCompatibilityHelpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SourceCompatibilityHelpers.h b/src/SourceCompatibilityHelpers.h index 5588d932..4ea923a2 100644 --- a/src/SourceCompatibilityHelpers.h +++ b/src/SourceCompatibilityHelpers.h @@ -123,7 +123,7 @@ clang::Lexer(id, inputFile.getValue(), sm, lo) #else #define GET_LEXER(id, inputFile, sm, lo) \ -clang::Lexer(id, inputFile.getValue(), sm, lo) +clang::Lexer(id, inputFile, sm, lo) #endif inline bool isFinal(const clang::CXXRecordDecl *record) |