[llvm-branch-commits] undo (PR #126192)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Feb 6 23:10:23 PST 2025


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 45fc89f407b6784a6ef2009e388c5a79b4588455 611b0c1713964a7df8a3f168c4dda69e6f6b63d5 --extensions cpp -- llvm/lib/Passes/PassBuilderPipelines.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Passes/PassBuilderPipelines.cpp b/llvm/lib/Passes/PassBuilderPipelines.cpp
index 0794729cd4..ed147504c6 100644
--- a/llvm/lib/Passes/PassBuilderPipelines.cpp
+++ b/llvm/lib/Passes/PassBuilderPipelines.cpp
@@ -1817,10 +1817,10 @@ PassBuilder::buildLTODefaultPipeline(OptimizationLevel Level,
   // in the current module.
   MPM.addPass(CrossDSOCFIPass());
 
-//  MPM.addPass(CoroEarlyPass());
+  //  MPM.addPass(CoroEarlyPass());
 
   auto Exit = llvm::make_scope_exit([&]() {
-//    MPM.addPass(CoroCleanupPass());
+    //    MPM.addPass(CoroCleanupPass());
 
     invokeFullLinkTimeOptimizationLastEPCallbacks(MPM, Level);
 
@@ -1987,8 +1987,8 @@ PassBuilder::buildLTODefaultPipeline(OptimizationLevel Level,
   // transform it to pass arguments by value instead of by reference.
   CGSCCPassManager CGPM;
   CGPM.addPass(ArgumentPromotionPass());
-//  CGPM.addPass(CoroSplitPass(Level != OptimizationLevel::O0));
-//  CGPM.addPass(CoroAnnotationElidePass());
+  //  CGPM.addPass(CoroSplitPass(Level != OptimizationLevel::O0));
+  //  CGPM.addPass(CoroAnnotationElidePass());
   MPM.addPass(createModuleToPostOrderCGSCCPassAdaptor(std::move(CGPM)));
 
   FunctionPassManager FPM;

``````````

</details>


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


More information about the llvm-branch-commits mailing list