llvm-project/mlir/lib/Parser
River Riddle d097cc6119 Add support for parsing/printing the trailing type of a dialect attribute.
This cl standardizes the printing of the type of dialect attributes to work the same as other attribute kinds. The type of dialect attributes will trail the dialect specific portion:

`#` dialect-namespace `<` attr-data `>` `:` type

The attribute parsing hooks on Dialect have been updated to take an optionally null expected type for the attribute. This matches the respective parseAttribute hooks in the OpAsmParser.

PiperOrigin-RevId: 258661298
2019-07-19 11:39:04 -07:00
..
CMakeLists.txt Add build files and update README. 2019-03-30 11:23:22 -07:00
Lexer.cpp Rename FunctionAttr to SymbolRefAttr. 2019-07-12 08:43:42 -07:00
Lexer.h Implement value type abstraction for locations. 2019-03-29 13:52:31 -07:00
Parser.cpp Add support for parsing/printing the trailing type of a dialect attribute. 2019-07-19 11:39:04 -07:00
Token.cpp Avoid hardcoded 4096 constant 2019-03-29 13:06:36 -07:00
Token.h Add parsing for floating point attributes. 2019-03-29 12:51:12 -07:00
TokenKinds.def Add parsing/printing for new affine.load and affine.store operations. 2019-06-24 13:45:09 -07:00