This second step to adding the assert statement supports it in class definitions.
I improved the description in the TableGen Programmer's Reference and enhanced the test.
Paths
| Differential D99275
Add the TableGen assert statement, step 2 ClosedPublic Authored by Paul-C-Anagnostopoulos on Mar 24 2021, 9:11 AM.
Details Summary This second step to adding the assert statement supports it in class definitions. I improved the description in the TableGen Programmer's Reference and enhanced the test.
Diff Detail Event TimelineComment Actions Looking good, a couple suggestions above. Also please address teh clang format issues, thanks!
This revision is now accepted and ready to land.Mar 24 2021, 12:41 PM
Comment Actions Incorporate everyone's comments. I'll let this cook for another day before pushing it. This revision was landed with ongoing or failed builds.Mar 29 2021, 6:20 AM Closed by commit rG5f473a04af91: [TableGen] Add support for the 'assert' statement in class definitions. (authored by Paul-C-Anagnostopoulos). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 333017 llvm/docs/TableGen/ProgRef.rst
llvm/include/llvm/TableGen/Error.h
llvm/include/llvm/TableGen/Record.h
llvm/lib/TableGen/Error.cpp
llvm/lib/TableGen/Record.cpp
llvm/lib/TableGen/TGParser.h
llvm/lib/TableGen/TGParser.cpp
llvm/test/TableGen/assert.td
|
clang-tidy: warning: invalid case style for function 'CheckAssert' [readability-identifier-naming]
not useful