llvm-project/mlir/test/Dialect/ControlFlow
Chris Lattner ad3b358180 [MLIR Parser] Improve QoI for "expected token" errors
A typical problem with missing a token is that the missing
token is at the end of a line.  The problem with this is that
the error message gets reported on the start of the following
line (which is where the next / invalid token is) which can
be confusing.

Handle this by noticing this case and backing up to the end of
the previous line.

Differential Revision: https://reviews.llvm.org/D125295
2022-05-10 15:44:17 +01:00
..
canonicalize.mlir [mlir][NFC] Update textual references of `func` to `func.func` in Bufferization/Complex/EmitC/CF/Func/GPU tests 2022-04-20 22:17:28 -07:00
invalid.mlir [MLIR Parser] Improve QoI for "expected token" errors 2022-05-10 15:44:17 +01:00
ops.mlir [mlir][NFC] Update textual references of `func` to `func.func` in Bufferization/Complex/EmitC/CF/Func/GPU tests 2022-04-20 22:17:28 -07:00