[llvm] [Support] Add format object for interleaved ranges (PR #135517)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 12 20:36:50 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,h -- llvm/unittests/Support/InterleavedRangeTest.cpp llvm/include/llvm/Support/Format.h llvm/include/llvm/Support/raw_ostream.h llvm/lib/Support/raw_ostream.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/unittests/Support/InterleavedRangeTest.cpp b/llvm/unittests/Support/InterleavedRangeTest.cpp
index 53acf3604..de3f054a6 100644
--- a/llvm/unittests/Support/InterleavedRangeTest.cpp
+++ b/llvm/unittests/Support/InterleavedRangeTest.cpp
@@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
-#include "llvm/Support/Format.h"
#include "llvm/ADT/SmallVector.h"
+#include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
``````````
</details>
https://github.com/llvm/llvm-project/pull/135517
More information about the llvm-commits
mailing list