[clang] [C++20][Coroutines] lambda-coroutine with promise_type ctor. (PR #84519)

via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 11 09:10:11 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 c54e0524eeffcf2c5428cd2bc0449a1989e82cd8 7d06524095a48cd6ea5fde089d857cb2b0aa6efb -- clang/test/SemaCXX/coroutine-promise-ctor-lambda.cpp clang/test/SemaCXX/cxx23-coroutine-promise-ctor-static-callop-lambda.cpp clang/lib/Sema/SemaCoroutine.cpp clang/test/SemaCXX/gh84064-1.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Sema/SemaCoroutine.cpp b/clang/lib/Sema/SemaCoroutine.cpp
index d8359367b9..29e4a33199 100644
--- a/clang/lib/Sema/SemaCoroutine.cpp
+++ b/clang/lib/Sema/SemaCoroutine.cpp
@@ -1673,7 +1673,6 @@ bool CoroutineStmtBuilder::makeNewAndDeleteExpr() {
   if (NewExpr.isInvalid())
     return false;
 
-
   // Make delete call.
 
   QualType OpDeleteQualType = OperatorDelete->getType();

``````````

</details>


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


More information about the cfe-commits mailing list