[clang] [CIR] Call to variadic functions (PR #141942)

Sirui Mu via cfe-commits cfe-commits at lists.llvm.org
Thu May 29 20:57:20 PDT 2025


================
@@ -39,6 +39,26 @@ class RequiredArgs {
 
   bool allowsOptionalArgs() const { return numRequired != ~0U; }
 
+  /// Compute the arguments required by the given formal prototype, given that
+  /// there may be some additional, non-formal arguments in play.
+  ///
+  /// If FD is not null, this will consider pass_object_size params in FD.
+  static RequiredArgs
+  forPrototypePlus(const clang::FunctionProtoType *prototype,
----------------
Lancern wrote:

Updated.

https://github.com/llvm/llvm-project/pull/141942


More information about the cfe-commits mailing list