[clang] [Clang][Diagnostics] Update select uses in DiagnosticXKinds.td to use enum_select (PR #130868)

Ayokunle Amodu via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 19 00:19:55 PDT 2025


ayokunle321 wrote:

@erichkeane Hey! So I was able to change one, could you please take a look.

Also for this case:

Instruction:
%select{classdesign|coclass|dependency|helper"
  "|helperclass|helps|instancesize|ownership|performance|security|superclass}1

Use:
<img width="667" alt="Screenshot 2025-03-19 at 1 12 07 AM" src="https://github.com/user-attachments/assets/4a2433f9-058c-482c-a452-1f89e2cbb0c0" />

I was wondering if it was okay for a replacement since the names of the CommandTraits options are the same


https://github.com/llvm/llvm-project/pull/130868


More information about the cfe-commits mailing list