[clang] [clang-tools-extra] [clang] [diagnostics] Stable IDs for Clang diagnostics (PR #168153)
Balázs Benics via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 15 05:08:14 PST 2025
================
@@ -415,11 +415,12 @@ def warn_arm_interrupt_save_fp_without_vfp_unit : Warning<
InGroup<DiagGroup<"arm-interrupt-save-fp-no-vfp-unit">>;
def err_arm_interrupt_called : Error<
"interrupt service routine cannot be called directly">;
-def warn_interrupt_signal_attribute_invalid : Warning<
- "%select{MIPS|MSP430|RISC-V|AVR}0 '%select{interrupt|signal}1' "
- "attribute only applies to functions that have "
- "%select{no parameters|a 'void' return type}2">,
- InGroup<IgnoredAttributes>;
+def warn_interrupt_signal_attribute_invalid
+ : Warning<"%select{MIPS|MSP430|RISC-V|AVR}0 '%select{interrupt|signal}1' "
+ "attribute only applies to functions that have "
+ "%select{no parameters|a 'void' return type}2">,
+ InGroup<IgnoredAttributes>,
+ LegacyStableIds<["warn_interrupt_attribute_invalid"]>;
----------------
steakhal wrote:
I see. So this is done for testing purposes.
No actions expected.
https://github.com/llvm/llvm-project/pull/168153
More information about the cfe-commits
mailing list