[PATCH] D132745: [clang] Fix ambiguous use of `report_fatal_error`.

Dmitri Gribenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 26 15:23:24 PDT 2022


gribozavr2 accepted this revision.
gribozavr2 added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/lib/Basic/SanitizerSpecialCaseList.cpp:36
     return SSCL;
-  llvm::report_fatal_error(Error);
+  llvm::report_fatal_error(llvm::StringRef(Error));
 }
----------------
Please omit 'llvm::' on StringRef if it works like that (it should).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132745/new/

https://reviews.llvm.org/D132745



More information about the cfe-commits mailing list