CChris Lattner[MLIR Parser] Improve QoI for "expected token" errors
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[mlir][NFC] Update textual references of func to func.func in Bufferization/Complex/EmitC/CF/Func/GPU tests The special case parsing of func operations is being removed. | 4 年前 | |
[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 | 4 年前 | |
[mlir][NFC] Update textual references of func to func.func in Bufferization/Complex/EmitC/CF/Func/GPU tests The special case parsing of func operations is being removed. | 4 年前 |