[clang] [clang] Differentiate between identifier and string EnumArgument (PR #68550)
Alexander Richardson via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 11 11:53:05 PDT 2023
================
@@ -886,7 +893,7 @@ def ARMInterrupt : InheritableAttr, TargetSpecificAttr<TargetARM> {
// MSP430Interrupt's, MipsInterrupt's and AnyX86Interrupt's spellings
// must match.
let Spellings = [GCC<"interrupt">];
- let Args = [EnumArgument<"Interrupt", "InterruptType",
+ let Args = [EnumArgument<"Interrupt", "InterruptType", /*is_string=*/true,
----------------
arichardson wrote:
It appears TableGen now supports named arguments (https://github.com/llvm/llvm-project/commit/91ccbc6c1c4c121935ee4fbfa0db13ad86590a59), probably makes sense to use them here?
https://github.com/llvm/llvm-project/pull/68550
More information about the cfe-commits
mailing list