Merge parser logic for CFG and ML functions, shrinking the code
authorChris Lattner <clattner@google.com>
Sat, 29 Dec 2018 02:41:31 +0000 (18:41 -0800)
committerjpienaar <jpienaar@google.com>
Fri, 29 Mar 2019 21:44:44 +0000 (14:44 -0700)
commitbe9ee4a98e71717c47db2f2dfd7c0fb73403bda4
tree75ef7286815b0b0d4101a47a5ac7a0b28d9695c9
parent456ad6a8e0ca78ce6277da897a0b820533387d84
Merge parser logic for CFG and ML functions, shrinking the code
by ~80 lines.  This causes a slight change to diagnostics, but
is otherwise behavior preserving.

This is step 22/n towards merging instructions and statements, MFC.

PiperOrigin-RevId: 227187857
mlir/lib/Parser/Parser.cpp
mlir/test/IR/invalid.mlir