[all-commits] [llvm/llvm-project] 661cbd: [utils][TableGen] Make some non-bitmask enums iter...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Thu Jul 17 09:28:10 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 661cbd5a5254de22ba87a49e89f54b30e2874fb3
      https://github.com/llvm/llvm-project/commit/661cbd5a5254de22ba87a49e89f54b30e2874fb3
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-07-17 (Thu, 17 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 (#148647)

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