[PATCH] D132745: [clang] Fix ambiguous use of `report_fatal_error`.
weiyi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 29 08:33:30 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd346eb7bf08c: [clang] Fix ambiguous use of `report_fatal_error`. (authored by wyt).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132745/new/
https://reviews.llvm.org/D132745
Files:
clang/lib/Basic/SanitizerSpecialCaseList.cpp
Index: clang/lib/Basic/SanitizerSpecialCaseList.cpp
===================================================================
--- clang/lib/Basic/SanitizerSpecialCaseList.cpp
+++ clang/lib/Basic/SanitizerSpecialCaseList.cpp
@@ -33,7 +33,7 @@
std::string Error;
if (auto SSCL = create(Paths, VFS, Error))
return SSCL;
- llvm::report_fatal_error(Error);
+ llvm::report_fatal_error(StringRef(Error));
}
void SanitizerSpecialCaseList::createSanitizerSections() {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132745.456355.patch
Type: text/x-patch
Size: 470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220829/55ba0a40/attachment.bin>
More information about the cfe-commits
mailing list