diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
commit | fcc5224904648a8e6eb528d7603154160a20022f (patch) | |
tree | 3bfce096b38a9cea8eed13fc70c1526c456e9abd /dev-util/clazy/files/clazy-1.9-llvm13.patch | |
parent | 2fd57282f0262ca084e05b0f2c63fbada395d02b (diff) |
gentoo resync : 02.02.2022
Diffstat (limited to 'dev-util/clazy/files/clazy-1.9-llvm13.patch')
-rw-r--r-- | dev-util/clazy/files/clazy-1.9-llvm13.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/dev-util/clazy/files/clazy-1.9-llvm13.patch b/dev-util/clazy/files/clazy-1.9-llvm13.patch deleted file mode 100644 index 9bbac8f7624d..000000000000 --- a/dev-util/clazy/files/clazy-1.9-llvm13.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 0bf4e428c76270f4534a0a8df3cf6912157f22ab Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Bj=C3=B6rn=20Sch=C3=A4pers?= <bjoern@hazardy.de> -Date: Sat, 17 Apr 2021 20:57:10 +0200 -Subject: [PATCH] Fix build with LLVM 13 - ---- - src/ClazyStandaloneMain.cpp | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/src/ClazyStandaloneMain.cpp b/src/ClazyStandaloneMain.cpp -index 41c4fcf9..7b4cf5d3 100644 ---- a/src/ClazyStandaloneMain.cpp -+++ b/src/ClazyStandaloneMain.cpp -@@ -158,7 +158,13 @@ llvm::IntrusiveRefCntPtr<vfs::FileSystem> getVfsFromFile(const std::string &over - - int main(int argc, const char **argv) - { -- CommonOptionsParser optionsParser(argc, argv, s_clazyCategory, cl::ZeroOrMore); -+ auto expectedParser = CommonOptionsParser::create(argc, argv, s_clazyCategory, cl::ZeroOrMore); -+ if (!expectedParser) { -+ llvm::errs() << expectedParser.takeError(); -+ return 1; -+ } -+ -+ auto &optionsParser = expectedParser.get(); - // llvm::errs() << optionsParser.getSourcePathList().size() << "\n"; - - if (s_supportedChecks.getValue()) { --- -GitLab - |