[all-commits] [llvm/llvm-project] 523d6c: [NFC][TableGen] Code cleanup in StringMatcher (#14...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Thu May 22 15:55:54 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 523d6c3b69ded6a1ba5fcbe72b40a39fa2c20d15
      https://github.com/llvm/llvm-project/commit/523d6c3b69ded6a1ba5fcbe72b40a39fa2c20d15
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2025-05-22 (Thu, 22 May 2025)

  Changed paths:
    M llvm/include/llvm/TableGen/StringMatcher.h
    M llvm/lib/TableGen/StringMatcher.cpp

  Log Message:
  -----------
  [NFC][TableGen] Code cleanup in StringMatcher (#141118)

- Use ArrayRef instead of const vector reference.
- Use range for loops with enumerate and structured bindings.



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