[all-commits] [llvm/llvm-project] 82829a: [utils][TableGen] Make some non-bitmask enums iter...
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Mon Jul 14 08:08:26 PDT 2025
Branch: refs/heads/users/kparzysz/e02-iterable-enum
Home: https://github.com/llvm/llvm-project
Commit: 82829a6f51fd96f720a64255442d96133a09b3dc
https://github.com/llvm/llvm-project/commit/82829a6f51fd96f720a64255442d96133a09b3dc
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2025-07-14 (Mon, 14 Jul 2025)
Changed paths:
M llvm/test/TableGen/directive1.td
M llvm/test/TableGen/directive2.td
M llvm/unittests/Frontend/OpenMPDirectiveNameParserTest.cpp
M llvm/utils/TableGen/Basic/DirectiveEmitter.cpp
Log Message:
-----------
[utils][TableGen] Make some non-bitmask enums iterable
Additionally, add sentinel values <Enum>::First_ and <Enum>::Last_
to each one of those enums.
This will allow using `enum_seq_inclusive` to generate the list of
enum-typed values of any generated scoped (non-bitmask) enum.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list