diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
commit | 93a93e9a3b53c1a73142a305ea1f8136846942ee (patch) | |
tree | b9791a06ab3284e27b568412c59316c66240c682 /dev-util/clazy/files/clazy-1.10-llvm-earlier-than-12.patch | |
parent | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff) |
gentoo resync : 22.12.2021
Diffstat (limited to 'dev-util/clazy/files/clazy-1.10-llvm-earlier-than-12.patch')
-rw-r--r-- | dev-util/clazy/files/clazy-1.10-llvm-earlier-than-12.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-util/clazy/files/clazy-1.10-llvm-earlier-than-12.patch b/dev-util/clazy/files/clazy-1.10-llvm-earlier-than-12.patch new file mode 100644 index 000000000000..714d196b5fd9 --- /dev/null +++ b/dev-util/clazy/files/clazy-1.10-llvm-earlier-than-12.patch @@ -0,0 +1,20 @@ +https://bugs.gentoo.org/829134 +https://invent.kde.org/sdk/clazy/-/commit/0ee1ed9ff1bd4cf2a49e1232696747f1898e2987.patch + +From: Allen Winter <allen.winter@kdab.com> +Date: Sat, 11 Dec 2021 14:57:52 -0500 +Subject: [PATCH] src/SourceCompatibilityHelpers.h - fix compile with LLVM<12 + +fix the GET_LEXER macro for LLVM versions less than 12 +--- 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) +GitLab |