[all-commits] [llvm/llvm-project] 146ef7: [TableGen] Remove unnecessary const_cast and use r...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Mar 11 09:21:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 146ef7a5f44af68e969dfb66918ae49810864aec
      https://github.com/llvm/llvm-project/commit/146ef7a5f44af68e969dfb66918ae49810864aec
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-03-11 (Tue, 11 Mar 2025)

  Changed paths:
    M llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp

  Log Message:
  -----------
  [TableGen] Remove unnecessary const_cast and use range-based for loops. NFC (#130717)

In order to use a range-based loop, I reduced a needed const_cast to
only the one line that needed it.



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