[clang] [FMV][AIX] Implement target_clones (PR #177428)
zhijian lin via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 13 12:16:19 PST 2026
================
@@ -562,4 +562,60 @@ bool SemaPPC::BuiltinVSX(CallExpr *TheCall) {
return false;
}
+bool SemaPPC::checkTargetClonesAttr(
+ SmallVectorImpl<StringRef> &Params, SmallVectorImpl<SourceLocation> &Locs,
----------------
diggerlin wrote:
since SmallVectorImpl<StringRef> &Params, SmallVectorImpl<SourceLocation> &Locs are input parameters and are changed in the function, we can add const in front of these two parameter.
https://github.com/llvm/llvm-project/pull/177428
More information about the cfe-commits
mailing list