[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 05:04:49 PDT 2022
wyt updated this revision to Diff 456311.
wyt marked an inline comment as done.
wyt added a comment.
Address comment.
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.456311.patch
Type: text/x-patch
Size: 470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220829/594c9595/attachment.bin>
More information about the cfe-commits
mailing list