mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
llvm-project `ErrorHandling.h` was updated to remove std::string. This added a new `report_fatal_error` overload taking a `const Twine &`, removed the overload that took `const std::string &`, and updated `fatal_error_handler_t` to use `const char *` rather than `const std::string &`. Fix uses of these functions to take into account these updates. Note that without the `const std::string &` overload, passing a `std::string` into `report_fatal_error` now results in an ambiguous match between the `StringRef` and `Twine` overloads so we need to be explicit about one or the other.
32 KiB
32 KiB