[clang] Add arrangeCXXMethodCall to the CodeGenABITypes interface. (PR #111597)

John McCall via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 8 15:53:04 PDT 2024


================
@@ -75,6 +75,12 @@ const CGFunctionInfo &arrangeCXXMethodType(CodeGenModule &CGM,
                                            const FunctionProtoType *FTP,
                                            const CXXMethodDecl *MD);
 
+const CGFunctionInfo &arrangeCXXMethodCall(CodeGenModule &CGM,
+                                           CanQualType returnType,
+                                           ArrayRef<CanQualType> argTypes,
+                                           FunctionType::ExtInfo info,
+                                           RequiredArgs args);
----------------
rjmccall wrote:

Hmm.  The internal function for this now takes an array of `ExtParameterInfo`s.  As long as we're introducing new API, could you go ahead and add that parameter to these functions?  You'll need to either add overloads or give it a default argument (an empty array is an acceptable default).

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


More information about the cfe-commits mailing list