[all-commits] [llvm/llvm-project] 4ed0ff: [CIR] Add support for using enum constants (#143214)

Andy Kaylor via All-commits all-commits at lists.llvm.org
Mon Jun 9 09:19:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ed0ff8756cb1ed0f67cf5415a60cfbce2c6164b
      https://github.com/llvm/llvm-project/commit/4ed0ff8756cb1ed0f67cf5415a60cfbce2c6164b
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-06-09 (Mon, 09 Jun 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenExpr.cpp
    M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
    M clang/lib/CIR/CodeGen/CIRGenFunction.h
    A clang/test/CIR/CodeGen/enum.cpp

  Log Message:
  -----------
  [CIR] Add support for using enum constants (#143214)

Although support for declaring enums and using values whose type was an
enum was previously upstreamed, we didn't have support for referencing
the constant values declared in the enum. This change adds that support.



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