[llvm] llvm-reduce: Add scope braces (PR #135025)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 9 07:14:29 PDT 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 HEAD~1 HEAD --extensions cpp -- llvm/tools/llvm-reduce/deltas/Delta.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/tools/llvm-reduce/deltas/Delta.cpp b/llvm/tools/llvm-reduce/deltas/Delta.cpp
index 6466314a6..6bf1b9934 100644
--- a/llvm/tools/llvm-reduce/deltas/Delta.cpp
+++ b/llvm/tools/llvm-reduce/deltas/Delta.cpp
@@ -219,7 +219,7 @@ void llvm::runDeltaPass(TestRunner &Test, const DeltaPass &Pass) {
       std::vector<Chunk> NoChunks = {{0, INT_MAX}};
       Oracle NoChunksCounter(NoChunks);
       std::unique_ptr<ReducerWorkItem> Clone =
-        Test.getProgram().clone(Test.getTargetMachine());
+          Test.getProgram().clone(Test.getTargetMachine());
       Pass.Func(NoChunksCounter, *Clone);
       assert(Targets == NoChunksCounter.count() &&
              "number of chunks changes when reducing");

``````````

</details>


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


More information about the llvm-commits mailing list