[clang] Add arrangeCXXMethodCall to the CodeGenABITypes interface. (PR #111597)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 8 15:22:47 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff c6d6da4659599507b44c167f335639082f28fae6 7be9488cc36596788ea6a1b979cb028e3c28e961 --extensions h,cpp -- clang/include/clang/CodeGen/CodeGenABITypes.h clang/lib/CodeGen/CodeGenABITypes.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/CodeGen/CodeGenABITypes.cpp b/clang/lib/CodeGen/CodeGenABITypes.cpp
index 283aa84258..972bc4137c 100644
--- a/clang/lib/CodeGen/CodeGenABITypes.cpp
+++ b/clang/lib/CodeGen/CodeGenABITypes.cpp
@@ -60,14 +60,11 @@ CodeGen::arrangeCXXMethodType(CodeGenModule &CGM,
}
const CGFunctionInfo &
-CodeGen::arrangeCXXMethodCall(CodeGenModule &CGM,
- CanQualType returnType,
+CodeGen::arrangeCXXMethodCall(CodeGenModule &CGM, CanQualType returnType,
ArrayRef<CanQualType> argTypes,
- FunctionType::ExtInfo info,
- RequiredArgs args) {
- return CGM.getTypes().arrangeLLVMFunctionInfo(returnType,
- FnInfoOpts::IsInstanceMethod,
- argTypes, info, {}, args);
+ FunctionType::ExtInfo info, RequiredArgs args) {
+ return CGM.getTypes().arrangeLLVMFunctionInfo(
+ returnType, FnInfoOpts::IsInstanceMethod, argTypes, info, {}, args);
}
const CGFunctionInfo &
``````````
</details>
https://github.com/llvm/llvm-project/pull/111597
More information about the cfe-commits
mailing list