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 origin/main HEAD --extensions cpp --
clang/test/CodeGenCoroutines/coro-suspend-cleanups.cpp
llvm/lib/Transforms/Coroutines/CoroFrame.cpp
llvm/unittests/Transforms/Coroutines/ExtraRematTest.cpp
--diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/unittests/Transforms/Coroutines/ExtraRematTest.cpp
b/llvm/unittests/Transforms/Coroutines/ExtraRematTest.cpp
index e2671d037..7963271a8 100644
--- a/llvm/unittests/Transforms/Coroutines/ExtraRematTest.cpp
+++ b/llvm/unittests/Transforms/Coroutines/ExtraRematTest.cpp
@@ -174,8 +174,7 @@ TEST_F(ExtraRematTest, TestCoroRematWithCallback) {
ASSERT_TRUE(F) << "could not find split function f.resume";
BasicBlock *Resume1 = getBasicBlockByName(F, "resume1.after.spill");
- ASSERT_TRUE(Resume1)
- << "could not find expected BB in split function";
+ ASSERT_TRUE(Resume1) << "could not find expected BB in split function";
// With callback the extra rematerialization of the function should have
// happened
@@ -260,8 +259,7 @@ TEST_F(ExtraRematTest, TestCoroRematWithCustomABI) {
ASSERT_TRUE(F) << "could not find split function f.resume";
BasicBlock *Resume1 = getBasicBlockByName(F, "resume1.after.spill");
- ASSERT_TRUE(Resume1)
- << "could not find expected BB in split function";
+ ASSERT_TRUE(Resume1) << "could not find expected BB in split function";
// With callback the extra rematerialization of the function should have
// happened
``````````
</details>
https://github.com/llvm/llvm-project/pull/218309
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits