llvm-project/mlir/lib/StandardOps
Smit Hinsu adca59e4f7 Return bool from all emitError methods similar to Operation::emitOpError
This simplifies call-sites returning true after emitting an error. After the
conversion, dropped braces around single statement blocks as that seems more
common.

Also, switched to emitError method instead of emitting Error kind using the
emitDiagnostic method.

TESTED with existing unit tests

PiperOrigin-RevId: 224527868
2019-03-29 14:22:06 -07:00
..
DialectRegistration.cpp Rename OpRegistration to DialectRegistration. NFC. 2019-03-29 13:48:20 -07:00
StandardOps.cpp Return bool from all emitError methods similar to Operation::emitOpError 2019-03-29 14:22:06 -07:00