Files
clang-p2996/mlir/lib/AsmParser/DialectSymbolParser.cpp
Mogball a5b584d8b4 [mlir][lsp] Add parser support for tracking alias definitions and uses
This adds fields to AsmParserState to track attribute and type alias
definitions and uses and teachers the parser to inform the
AsmParserState about them. This will be used to add LSP support for goto
definition and find references for aliases.

Attribute aliases are tolerant to use before def, because certain
location aliases may be deferred.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D158781
2023-08-25 02:02:46 +00:00

13 KiB