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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to