llvm-project/llvm/lib/AsmParser
Nikita Popov 42cc7f3c52 [AttrBuilder] Make handling of type attributes more generic (NFCI)
While working on the elementtype attribute, I felt that the type
attribute handling in AttrBuilder is overly repetitive. This patch
converts the separate Type* members into an std::array<Type*>, so
that all type attribute kinds can be handled generically.

There's more room for improvement here (especially when it comes to
converting the AttrBuilder to an Attribute), but this seems like a
good starting point.

Differential Revision: https://reviews.llvm.org/D105658
2021-07-09 17:48:09 +02:00
..
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
LLLexer.cpp [LLParser] Remove outdated deplibs 2021-06-14 12:46:12 +08:00
LLParser.cpp [AttrBuilder] Make handling of type attributes more generic (NFCI) 2021-07-09 17:48:09 +02:00
Parser.cpp [Lexer] Allow LLLexer to be used as an API 2021-04-26 12:43:14 -04:00