[all-commits] [llvm/llvm-project] d7da79: [NFC][SetTheory] Refactor to use const pointers an...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Thu Aug 22 05:47:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7da79f2cd025ab1a526c7011aab062817a656b2
      https://github.com/llvm/llvm-project/commit/d7da79f2cd025ab1a526c7011aab062817a656b2
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2024-08-22 (Thu, 22 Aug 2024)

  Changed paths:
    M clang/utils/TableGen/NeonEmitter.cpp
    M llvm/include/llvm/TableGen/SetTheory.h
    M llvm/lib/TableGen/SetTheory.cpp
    M llvm/utils/TableGen/Common/CodeGenRegisters.cpp
    M llvm/utils/TableGen/Common/CodeGenSchedule.cpp

  Log Message:
  -----------
  [NFC][SetTheory] Refactor to use const pointers and range loops (#105544)

- Refactor SetTheory code to use const pointers when possible.
- Use auto for variables initialized using dyn_cast<>.
- Use range based for loops and early continue.



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