Update the dialect attribute verification hooks to return LogicalResult instead...
authorRiver Riddle <riverriddle@google.com>
Tue, 2 Apr 2019 21:02:32 +0000 (14:02 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 2 Apr 2019 22:15:56 +0000 (15:15 -0700)
commit7fa2864954facbc2ef8f4d12045409c105b10493
tree5b4267ac8e8ab3b81db7903cb41b18ed8794878e
parentf457ab7fc9920a84ae3c78ffb6f7a4e1dee3f0b6
Update the dialect attribute verification hooks to return LogicalResult instead of bool. This updates Function::emitError to return LogicalResult as well.

--

PiperOrigin-RevId: 241598892
mlir/include/mlir/IR/Dialect.h
mlir/include/mlir/IR/Function.h
mlir/include/mlir/LLVMIR/LLVMDialect.h
mlir/lib/Analysis/Verifier.cpp
mlir/lib/IR/Function.cpp
mlir/lib/LLVMIR/IR/LLVMDialect.cpp