aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2021-12-11 14:57:52 -0500
committerAllen Winter <allen.winter@kdab.com>2021-12-11 14:57:52 -0500
commit0ee1ed9ff1bd4cf2a49e1232696747f1898e2987 (patch)
treea219cd664f3c8d60f16e63d26e78db8ed0ea4998
parent827e0e1447e7a43a63dc73de061e56d3c5f5e1bf (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.h2
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)