llvm-project/mlir/lib/Parser
Jacques Pienaar 644f722b36 [mlir-lsp] Report range of potential identifier starting at location of diagnostic
Currently the diagnostics reports the file:line:col, but some LSP
frontends require a non-empty range. Report either the range of an
identifier that starts at location, or a range of 1. Expose the id
location to range helper and reuse here.

Differential Revision: https://reviews.llvm.org/D103482
2021-06-02 10:49:53 -07:00
..
AffineParser.cpp [mlir] support max/min lower/upper bounds in affine.parallel 2021-04-29 13:16:25 +02:00
AsmParserState.cpp [mlir-lsp] Report range of potential identifier starting at location of diagnostic 2021-06-02 10:49:53 -07:00
AttributeParser.cpp [mlir][IR] Support parsing hex float values in the DialectSymbolParser 2021-03-17 13:52:32 -07:00
CMakeLists.txt Add a new AsmParserState class to capture detailed source information for .mlir files 2021-04-21 14:44:37 -07:00
DialectSymbolParser.cpp [OpAsmParser] Refactor parseOptionalInteger to support wide integers, NFC. 2021-05-10 22:35:42 -07:00
Lexer.cpp [Reland] [mlir] Speed up Lexer::getEncodedSourceLocation 2021-05-19 12:57:18 -07:00
Lexer.h Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
LocationParser.cpp [mlir][IR][NFC] Define the Location classes in ODS instead of C++ 2021-03-08 14:32:40 -08:00
Parser.cpp [mlir] Use unique_function in AbstractOperation fields 2021-05-25 11:36:12 -07:00
Parser.h [OpAsmParser] Refactor parseOptionalInteger to support wide integers, NFC. 2021-05-10 22:35:42 -07:00
ParserState.h Add a new AsmParserState class to capture detailed source information for .mlir files 2021-04-21 14:44:37 -07:00
Token.cpp [AsmParser] Fix support for zero bit integer types. 2020-12-12 21:24:18 -08:00
Token.h [mlir] Optimize the parsing of ElementsAttr hex strings 2020-10-28 16:58:06 -07:00
TokenKinds.def [mlir] Add better support for f80 and f128 2021-01-15 10:29:48 -05:00
TypeParser.cpp [mlir][tensors] Introduce attribute interface/attribute for tensor encoding 2021-04-26 18:31:54 -07:00