[clang] Fix Objective-C++ Sret of non-trivial data types on Windows ARM64 (PR #88671)

via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 17 07:00:13 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 fad37526a3ea7d669af621342968029085862281 547dd8b6117c478ea0dff03e89a1c5534e98e614 -- clang/lib/CodeGen/CGCall.cpp clang/lib/CodeGen/CGObjCGNU.cpp clang/lib/CodeGen/CodeGenModule.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/lib/CodeGen/CGObjCGNU.cpp b/clang/lib/CodeGen/CGObjCGNU.cpp
index 90f620e2fa..43dd386595 100644
--- a/clang/lib/CodeGen/CGObjCGNU.cpp
+++ b/clang/lib/CodeGen/CGObjCGNU.cpp
@@ -2925,8 +2925,8 @@ CGObjCGNU::GenerateMessageSend(CodeGenFunction &CGF,
       }
       // The actual types here don't matter - we're going to bitcast the
       // function anyway
-      imp = CGM.CreateRuntimeFunction(
-                   llvm::FunctionType::get(IdTy, IdTy, true), name)
+      imp = CGM.CreateRuntimeFunction(llvm::FunctionType::get(IdTy, IdTy, true),
+                                      name)
                 .getCallee();
     }
 

``````````

</details>


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


More information about the cfe-commits mailing list