Files
clang-p2996/mlir/lib/AsmParser/DialectSymbolParser.cpp
River Riddle 537c6016c5 [mlir][AttrType] Emit unbalanced character errors using the last punctuation used
This gives a better diagnostic in general, because it indicates that the user didn't
close out the last open puncutation range. For example:

```
foo.op {
  some.op -> !blah.pointer<
}
```
We want the error to hint about the unclosed `<`, not the `}` (which isn't really in the context of the type).

Differential Revision: https://reviews.llvm.org/D141635
2023-01-12 14:58:05 -08:00

13 KiB