aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2021-12-11 14:57:52 -0500
committerPino Toscano <pino@kde.org>2021-12-21 19:36:28 +0100
commite15334b569da57a005ec9fbd2cf0b683bdc3de4c (patch)
tree4c46f3bff8ae9cf9b635595817b58cc6ae1e8253
parentaf1555f79dd7d9023c613dc120c4f034a827d0a0 (diff)
src/SourceCompatibilityHelpers.h - fix compile with LLVM<12upstream/1.10
fix the GET_LEXER macro for LLVM versions less than 12 (cherry picked from commit 0ee1ed9ff1bd4cf2a49e1232696747f1898e2987)
-rw-r--r--src/SourceCompatibilityHelpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SourceCompatibilityHelpers.h b/src/SourceCompatibilityHelpers.h
index a3bf2680..c43544eb 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)