Use SourceMgrDiagnosticHandler in mlir-translate for translations from MLIR input.
authorJacques Pienaar <jpienaar@google.com>
Tue, 28 May 2019 00:13:55 +0000 (17:13 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 2 Jun 2019 03:04:32 +0000 (20:04 -0700)
commitf0ee052d9e486abdefd73c68e50d3130111bc8bb
tree6cf087ae74d25086b8cf0e805bc5aeaf97523779
parent46d657a277f07233d0ee7a5522fc27d962922307
Use SourceMgrDiagnosticHandler in mlir-translate for translations from MLIR input.

    Report errors using the file and line location using SourceMgr's diagnostic reporting. Reduce some horizontal white spacing too.

--

PiperOrigin-RevId: 250193646
mlir/tools/mlir-translate/mlir-translate.cpp