[all-commits] [llvm/llvm-project] 179d72: [CIR] Clean up enum attributes (#144999)

Henrich Lauko via All-commits all-commits at lists.llvm.org
Mon Jun 23 13:24:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 179d724867fe61f43915f574010cefe8a7e10e02
      https://github.com/llvm/llvm-project/commit/179d724867fe61f43915f574010cefe8a7e10e02
  Author: Henrich Lauko <xlauko at mail.muni.cz>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
    M clang/include/clang/CIR/Dialect/IR/CIROps.td

  Log Message:
  -----------
  [CIR] Clean up enum attributes (#144999)

This mirrors incubator changes from https://github.com/llvm/clangir/pull/1678

- Create CIR specific EnumAttr bases and prefix enum attributes with CIR_ that automatically puts enum to cir namespace

- Removes unnecessary enum case definitions

- Unifies naming of enum values to use capitals consistently and make enumerations to start from 0



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