[all-commits] [llvm/llvm-project] 86c770: [AsmParser] Automatically declare and lex attribut...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Apr 27 00:27:42 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 86c770346c26ce4c9abf5a5b7ab4b5bbfdcf9d78
https://github.com/llvm/llvm-project/commit/86c770346c26ce4c9abf5a5b7ab4b5bbfdcf9d78
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-04-27 (Wed, 27 Apr 2022)
Changed paths:
M llvm/include/llvm/AsmParser/LLToken.h
M llvm/lib/AsmParser/LLLexer.cpp
Log Message:
-----------
[AsmParser] Automatically declare and lex attribute keywords (NFC)
Rather than listing these by hand, include all enum attribute
keywords from Attributes.inc. This reduces the number of places
one has to update whenever an enum attribute is added.
Differential Revision: https://reviews.llvm.org/D124465
More information about the All-commits
mailing list