================
@@ -1787,6 +1787,15 @@ class TargetInfo : public TransferrableTargetInfo,
}
}
+ /// Determines whether a call using the given calling convention may be
+ /// variadic on this target. Unlike the target-agnostic
+ /// supportsVariadicCall(), this allows a target to reject its own default
+ /// calling convention (e.g. when that default is only nominally CC_C but
+ /// lowers to an ABI that cannot support variadic calls).
+ virtual bool supportsCallingConvVariadic(CallingConv CC) const {
----------------
aobolensk wrote:
`supportsVariadicCall` looks good, renamed
https://github.com/llvm/llvm-project/pull/210882
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits