[all-commits] [llvm/llvm-project] 86b3f8: [RISCV] Used Twine concatenation instead of format...

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Jan 28 20:04:21 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86b3f8518f21532297e0aad0c6aea95c66389fc9
      https://github.com/llvm/llvm-project/commit/86b3f8518f21532297e0aad0c6aea95c66389fc9
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-01-28 (Sun, 28 Jan 2024)

  Changed paths:
    M llvm/lib/Support/RISCVISAInfo.cpp

  Log Message:
  -----------
  [RISCV] Used Twine concatenation instead of format strings RISCVISAInfo.cpp. NFC

We were converting several StringRefs to std::strings then to
char * so we could pass as %s to a format string. Use the Twine
signature of createStringError instead.




More information about the All-commits mailing list