Add support to SourceMgrDiagnosticHandler for handling the case where the llvm...
authorRiver Riddle <riverriddle@google.com>
Fri, 10 May 2019 14:13:03 +0000 (07:13 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sat, 11 May 2019 02:28:13 +0000 (19:28 -0700)
commit685f9484814bdfee5557e1d6cb5fe1b70bdad633
treef67fd59088a48563d9bea47b309317b25c1c0bca
parent43547ccfac8e608021848c3ed91492923d5f45c3
Add support to SourceMgrDiagnosticHandler for handling the case where the llvm::SourceMgr has no main file.

--

PiperOrigin-RevId: 247605584
mlir/include/mlir/IR/Diagnostics.h
mlir/lib/IR/Diagnostics.cpp