================ @@ -1329,6 +1329,11 @@ void SemaARM::handleInterruptAttr(Decl *D, const ParsedAttr &AL) { return; } + const TargetInfo &TI = getASTContext().getTargetInfo(); + if (TI.hasFeature("vfp")) { + Diag(D->getLocation(), diag::warn_arm_interrupt_vfp_clobber); + } ---------------- chrisnc wrote:
Huh, I guess the rule has exceptions so the clang-format checker doesn't flag it? Will fix. https://github.com/llvm/llvm-project/pull/91870 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits