Fix crash in ODS backend for Type/Attr when an incorrect construct is used for Type...
authorMehdi Amini <joker.eph@gmail.com>
Sat, 22 Jul 2023 04:47:33 +0000 (21:47 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sat, 22 Jul 2023 05:06:02 +0000 (22:06 -0700)
commit5f1a388a11ae67c2e5d7a4d1fe45e369a393c572
tree120f7ccc8cdacb945aa8a16eb568d3f67daf3b7b
parentd4f24163985c87d6c5df2d429786206777ab97ec
Fix crash in ODS backend for Type/Attr when an incorrect construct is used for Type/Attr

Instead of crashing, try to print a useful error message.
mlir/lib/TableGen/AttrOrTypeDef.cpp