[llvm] Unix.h - Replace report_fatal_error(std::string) with report_fatal_error(Twine)
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 6 Oct 2021 11:13:40 +0000 (12:13 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 6 Oct 2021 11:13:40 +0000 (12:13 +0100)
commite9f4fa75ed19a075593928644de92b398345772a
tree5b84e98567e35aa1934875fec0c0c944e22d93de
parent21661607cabd3927a56481e5382c4a68ffe6c2f3
[llvm] Unix.h - Replace report_fatal_error(std::string) with report_fatal_error(Twine)

As described on D111049, we're trying to remove the <string> dependency from error handling and replace uses of report_fatal_error(const std::string&) with the Twine() variant which can be forward declared.
llvm/lib/Support/Unix/Unix.h