[PATCH] D109359: [TableGen] Emit a warning for unused template args

Cullen Rhodes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 1 06:57:06 PDT 2021


c-rhodes updated this revision to Diff 383795.
c-rhodes added a comment.

Use range-based for loop for template args.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109359/new/

https://reviews.llvm.org/D109359

Files:
  llvm/cmake/modules/TableGen.cmake
  llvm/include/llvm/TableGen/Record.h
  llvm/lib/TableGen/Main.cpp
  llvm/lib/TableGen/Record.cpp
  llvm/lib/TableGen/TGParser.cpp
  llvm/lib/TableGen/TGParser.h
  llvm/test/TableGen/2010-03-24-PrematureDefaults.td
  llvm/test/TableGen/TemplateArgRename.td
  llvm/test/TableGen/cond-subclass.td
  llvm/test/TableGen/defmclass.td
  llvm/test/TableGen/if.td
  llvm/test/TableGen/isa.td
  llvm/test/TableGen/pr8330.td
  llvm/test/TableGen/warn-unused-template-arg.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109359.383795.patch
Type: text/x-patch
Size: 8870 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211101/22d048a2/attachment.bin>


More information about the llvm-commits mailing list