llvm-project/mlir/lib/Parser
Eric Schweitz 2225411690 Tweak to the pretty type parser to recognize that `->` is a special token.
Tweak to the pretty type parser to recognize that `->` is a special token that
shouldn't be split into two characters.  This change allows dialect
types to wrap function types as in `!my.ptr_type<(i32) -> i32>`.

Closes tensorflow/mlir#105

COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/mlir/pull/105 from schweitzpgi:parse-arrow 8b2d768053f419daae5a1a864121a44c4319acbe
PiperOrigin-RevId: 265986240
2019-08-28 13:55:42 -07:00
..
CMakeLists.txt Add build files and update README. 2019-03-30 11:23:22 -07:00
Lexer.cpp NFC: Add doc for id-punct 2019-08-23 21:01:12 -07:00
Lexer.h Lexer: NFC: sort helper methods alphabetically 2019-08-08 12:18:36 -07:00
Parser.cpp Tweak to the pretty type parser to recognize that `->` is a special token. 2019-08-28 13:55:42 -07:00
Token.cpp Update style/clang-format (NFC). 2019-07-22 11:29:21 -07:00
Token.h Update style/clang-format (NFC). 2019-07-22 11:29:21 -07:00
TokenKinds.def Introduce support for variadic function signatures for the LLVM dialect 2019-08-08 09:42:16 -07:00