There are a lot of cases where we accidentally ignored the result of some
parsing hook. Mark ParseResult as LLVM_NODISCARD just like ParseResult is.
This exposed some stuff to clean up, so do.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Nice!
mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp | ||
---|---|---|
3116 | It isn't clear why any of these variables needed to move, they looked fine in the place they were before. | |
mlir/lib/Parser/AffineParser.cpp | ||
521 | Why doesn't this have : in the error? (Thanks for cleaning this up! The original was confusing and hard to follow) |
It isn't clear why any of these variables needed to move, they looked fine in the place they were before.