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
13 KiB
13 KiB