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 c51095f51b770f0663b65dd8a651601fca15701e 
e4af1febaa05e2749947b7cd406d65df5a1a7539 -- clang/lib/CodeGen/CGExpr.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index 0b8f43dab8..2f664ad302 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/lib/CodeGen/CGExpr.cpp
@@ -316,13 +316,12 @@ pushTemporaryCleanup(CodeGenFunction &CGF, const 
MaterializeTemporaryExpr *M,
           Destroy = &CodeGenFunction::destroyARCWeak;
         }
         if (Duration == SD_FullExpression)
-          CGF.pushDestroy(CleanupKind, ReferenceTemporary,
-                          E->getType(), *Destroy,
-                          CleanupKind & EHCleanup);
+          CGF.pushDestroy(CleanupKind, ReferenceTemporary, E->getType(),
+                          *Destroy, CleanupKind & EHCleanup);
         else
           CGF.pushLifetimeExtendedDestroy(CleanupKind, ReferenceTemporary,
-                                          E->getType(),
-                                          *Destroy, CleanupKind & EHCleanup);
+                                          E->getType(), *Destroy,
+                                          CleanupKind & EHCleanup);
         return;
 
       case SD_Dynamic:

``````````

</details>


https://github.com/llvm/llvm-project/pull/85541
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to