[all-commits] [llvm/llvm-project] 57500c: [utils][TableGen] Clarify usage of ClauseVal, rena...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Wed Jun 4 06:16:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57500cd6a013a1e438878b04cd4530673ab5533e
      https://github.com/llvm/llvm-project/commit/57500cd6a013a1e438878b04cd4530673ab5533e
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    M llvm/include/llvm/Frontend/Directive/DirectiveBase.td
    M llvm/include/llvm/Frontend/OpenACC/ACC.td
    M llvm/include/llvm/Frontend/OpenMP/OMP.td
    M llvm/include/llvm/TableGen/DirectiveEmitter.h
    M llvm/test/TableGen/directive1.td
    M llvm/utils/TableGen/Basic/DirectiveEmitter.cpp
    M mlir/test/mlir-tblgen/directive-common.td
    M mlir/tools/mlir-tblgen/DirectiveCommonGen.cpp

  Log Message:
  -----------
  [utils][TableGen] Clarify usage of ClauseVal, rename to EnumVal (#141761)

The class "ClauseVal" actually represents a definition of an enumeration
value, and in itself it is not bound to any clause. Rename it to EnumVal
and add a comment clarifying how it's translated into an actual enum
definition in the generated source code.

There is no change in functionality.



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