forked from OSchip/llvm-project
5d5d5838ce
Previously we only check that each field is of the correct mlir::Attribute subclass. This commit enhances to also consider the attribute's types, by leveraging the constraints already encoded in TableGen attribute definitions. Reviewed By: rsuderman Differential Revision: https://reviews.llvm.org/D72162 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
EnumsGenTest.cpp | ||
FormatTest.cpp | ||
StructsGenTest.cpp | ||
enums.td | ||
structs.td |