[all-commits] [llvm/llvm-project] a97006: [RegisterScavenging] Use a Twine in a call to repo...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Oct 8 11:04:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9700653abf2914e0eb4c2996df8786c456c242c
      https://github.com/llvm/llvm-project/commit/a9700653abf2914e0eb4c2996df8786c456c242c
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-10-08 (Fri, 08 Oct 2021)

  Changed paths:
    M llvm/lib/CodeGen/RegisterScavenging.cpp

  Log Message:
  -----------
  [RegisterScavenging] Use a Twine in a call to report_fatal_error instead of going from std::string to c_str. NFC

The std::string was built on the line above. Might as well just
build it as a Twine in the call.




More information about the All-commits mailing list