Introduce a new common diagnostic handler ScopedDiagnosticHandler to simplify...
authorRiver Riddle <riverriddle@google.com>
Thu, 23 May 2019 23:16:34 +0000 (16:16 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 2 Jun 2019 02:59:33 +0000 (19:59 -0700)
commit5185acca0dc6592dde1e8a1f54bd3362e2358732
treea08e31c966b121ba4c3d47cbadaafcb42491fd53
parent4165885a90eab42fda8bc0f41739c194d0451d07
Introduce a new common diagnostic handler ScopedDiagnosticHandler to simplify saving and restoring the currently registered handler.

--

PiperOrigin-RevId: 249735912
mlir/g3doc/Diagnostics.md
mlir/include/mlir/IR/Diagnostics.h
mlir/lib/IR/Diagnostics.cpp