[all-commits] [llvm/llvm-project] 84ff1b: [RISCV] Use StringRef in a range-based for loop (N...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sat Jun 14 23:24:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 84ff1bda2977e580265997ad2d4c47b18cd3bf9f
      https://github.com/llvm/llvm-project/commit/84ff1bda2977e580265997ad2d4c47b18cd3bf9f
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-06-14 (Sat, 14 Jun 2025)

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

  Log Message:
  -----------
  [RISCV] Use StringRef in a range-based for loop (NFC) (#144243)

When we iterate over std::vector<std::string>, we can directly assign
each element to StringRef.  We do not need to go through a separate
statement.



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