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 HEAD~1 HEAD --extensions c,h,cpp --
clang/test/C/C11/n1285_1.c clang/lib/CodeGen/CGDecl.cpp
clang/lib/CodeGen/CGExpr.cpp clang/lib/CodeGen/CodeGenFunction.h
clang/lib/Sema/Sema.cpp clang/lib/Sema/SemaInit.cpp clang/test/C/C11/n1285.c
clang/test/CodeGen/xcore-abi.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp
index 3ba0b9705..853f448c3 100644
--- a/clang/lib/CodeGen/CGDecl.cpp
+++ b/clang/lib/CodeGen/CGDecl.cpp
@@ -2269,7 +2269,7 @@ void
CodeGenFunction::pushDestroy(QualType::DestructionKind dtorKind,
cleanupKind & EHCleanup);
}
- void CodeGenFunction::pushLifetimeExtendedDestroy(
+void CodeGenFunction::pushLifetimeExtendedDestroy(
QualType::DestructionKind dtorKind, Address addr, QualType type) {
CleanupKind cleanupKind = getCleanupKind(dtorKind);
pushLifetimeExtendedDestroy(cleanupKind, addr, type, getDestroyer(dtorKind),
``````````
</details>
https://github.com/llvm/llvm-project/pull/133472
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits