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 cpp -- 
clang/test/CodeGenCoroutines/pr56919.cpp 
llvm/lib/Transforms/Coroutines/CoroFrame.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Transforms/Coroutines/CoroFrame.cpp 
b/llvm/lib/Transforms/Coroutines/CoroFrame.cpp
index fb56832de..00d3f7b56 100644
--- a/llvm/lib/Transforms/Coroutines/CoroFrame.cpp
+++ b/llvm/lib/Transforms/Coroutines/CoroFrame.cpp
@@ -1902,8 +1902,7 @@ static void riseLifetimeEndMarkers(Function &F, const 
coro::Shape &Shape) {
       else if (mayEscape(AI, U)) {
         Escape = true;
         break;
-      }
-      else
+      } else
         UserBBs.insert(I->getParent());
     }
 

``````````

</details>


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

Reply via email to