[all-commits] [llvm/llvm-project] e9f4fa: [llvm] Unix.h - Replace report_fatal_error(std::st...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Oct 6 04:13:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9f4fa75ed19a075593928644de92b398345772a
      https://github.com/llvm/llvm-project/commit/e9f4fa75ed19a075593928644de92b398345772a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-10-06 (Wed, 06 Oct 2021)

  Changed paths:
    M llvm/lib/Support/Unix/Unix.h

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list