[all-commits] [llvm/llvm-project] 86f2fd: [TableGen] Tach getInputFilename to return StringR...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Tue May 20 06:47:41 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86f2fdd5e448abbe8d215e2f79a0c388bf7ca2ed
      https://github.com/llvm/llvm-project/commit/86f2fdd5e448abbe8d215e2f79a0c388bf7ca2ed
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-05-20 (Tue, 20 May 2025)

  Changed paths:
    M llvm/include/llvm/TableGen/Record.h
    M mlir/lib/TableGen/CodeGenHelpers.cpp

  Log Message:
  -----------
  [TableGen] Tach getInputFilename to return StringRef (NFC) (#140690)

AFAICT, all callers of getInputFilename consume the string right away.
Nobody seems to rely on the "copy" behavior that comes with returning
"const std::string".



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list