[clang] [AArch64][SME] Add diagnostics to CheckConstexprFunctionDefinition (PR #121777)
Kerry McLaughlin via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 7 06:17:08 PST 2025
================
@@ -1854,6 +1855,9 @@ bool Sema::CheckConstexprFunctionDefinition(const FunctionDecl *NewFD,
}
}
+ if (Context.getTargetInfo().getTriple().isAArch64())
+ ARM().CheckSMEFunctionDefAttributes(NewFD);
+
----------------
kmclaughlin-arm wrote:
Thanks, `ActOnStartOfLambdaDefinition` does seem like a better place to check the attributes.
https://github.com/llvm/llvm-project/pull/121777
More information about the cfe-commits
mailing list