================ @@ -1328,4 +1328,57 @@ void SemaARM::handleInterruptAttr(Decl *D, const ParsedAttr &AL) { ARMInterruptAttr(getASTContext(), AL, Kind)); } +// Check if the function definition uses any AArch64 SME features without +// having the '+sme' feature enabled and warn user if sme locally streaming +// function returns or uses arguments with VL-based types. +void SemaARM::CheckSMEFunctionDefAttributes(const FunctionDecl *FD) { ---------------- cor3ntin wrote:
It's a bit inconsistent with everything else, the intent is to use `ARM().CheckSMEFunctionDefAttributes(FD)` (The reason we did that was to split Sema into multiple classes/files) @Endilll https://github.com/llvm/llvm-project/pull/121777 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits