NFC: Add support for parsing attributes programmatically via mlir::parseAttribute.
authorRiver Riddle <riverriddle@google.com>
Tue, 22 Oct 2019 04:34:21 +0000 (21:34 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 22 Oct 2019 04:34:51 +0000 (21:34 -0700)
commit057ee97c73765e931579f3dc23e740a4bab87843
treeb8b4599e49ed4b97c16ef1007136c441f75ee15d
parent020f9eb68c8808c096228e20a40e5a217f4d2aab
NFC: Add support for parsing attributes programmatically via mlir::parseAttribute.

This matches the behavior of the public mlir::parseType, and even uses the internal implementation.

PiperOrigin-RevId: 275989777
mlir/include/mlir/Parser.h
mlir/lib/Parser/Parser.cpp