Add support for using the new diagnostics infrastructure in the parser. This...
authorRiver Riddle <riverriddle@google.com>
Wed, 8 May 2019 17:29:50 +0000 (10:29 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sat, 11 May 2019 02:24:05 +0000 (19:24 -0700)
commitce4fa9f65270e98fc953f409439eb0256558364c
treee5d11767e10415ce8e160acfb488557831293d40
parentfa6eb9bfafc7eda92950b4edbd26e502f1b29d9c
Add support for using the new diagnostics infrastructure in the parser. This also adds support for streaming in ranges(e.g. ArrayRef) into a diagnostic with an optional element delimiter.

--

PiperOrigin-RevId: 247239436
mlir/include/mlir/IR/Diagnostics.h
mlir/include/mlir/IR/OpDefinition.h
mlir/include/mlir/IR/OpImplementation.h
mlir/lib/IR/Diagnostics.cpp
mlir/lib/Parser/Parser.cpp
mlir/test/IR/invalid.mlir