[PATCH] D100511: [clang] Modify diagnostic level from err to warn: anyx86_interrupt_regsave
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 15 08:39:25 PDT 2021
aaron.ballman added inline comments.
================
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:296-298
+def warn_anyx86_interrupt_regsave : Warning<
+ "interrupt service routine should only call a function"
" with attribute 'no_caller_saved_registers'">;
----------------
You still need to add the diagnostic to a diagnostic group, otherwise users don't have a way to selectively disable the diagnostic.
Feel free to pick a different group for the -W flag; I just took a stab at a possible name.
This should fix the failing CI pipelines too.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100511/new/
https://reviews.llvm.org/D100511
More information about the cfe-commits
mailing list