[PATCH] D96416: [TableGen] Improve algorithms for processing template arguments; add type checking

Paul C. Anagnostopoulos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 15 09:53:35 PST 2021


Paul-C-Anagnostopoulos updated this revision to Diff 323784.
Paul-C-Anagnostopoulos added a comment.

I added a test for template argument checking and casting.

I had to change the invalid template argument type message to fatal. Otherwise all hell can break loose downstream.


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

https://reviews.llvm.org/D96416

Files:
  llvm/docs/TableGen/ProgRef.rst
  llvm/include/llvm/TableGen/Record.h
  llvm/lib/TableGen/Record.cpp
  llvm/lib/TableGen/TGParser.cpp
  llvm/lib/TableGen/TGParser.h
  llvm/test/TableGen/self-reference-typeerror.td
  llvm/test/TableGen/template-args.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96416.323784.patch
Type: text/x-patch
Size: 29566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210215/aa215367/attachment-0001.bin>


More information about the llvm-commits mailing list