[llvm] [ADT] BitVector: give `subsetOf(RHS)` name to `!test(RHS)` (NFC) (PR #170875)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 8 04:34:13 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 origin/main HEAD --extensions cpp,h -- bolt/lib/Passes/PAuthGadgetScanner.cpp llvm/include/llvm/ADT/BitVector.h llvm/include/llvm/ADT/SmallBitVector.h llvm/lib/Analysis/StackLifetime.cpp llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp llvm/lib/CodeGen/StackColoring.cpp llvm/lib/Target/Hexagon/HexagonBitSimplify.cpp llvm/lib/Target/Hexagon/HexagonGenInsert.cpp llvm/unittests/ADT/BitVectorTest.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/ADT/BitVectorTest.cpp b/llvm/unittests/ADT/BitVectorTest.cpp
index 8c6f079d8..51fa10e7f 100644
--- a/llvm/unittests/ADT/BitVectorTest.cpp
+++ b/llvm/unittests/ADT/BitVectorTest.cpp
@@ -875,8 +875,8 @@ TYPED_TEST(BitVectorTest, BinOps) {
}
template <typename VecType>
-static inline VecType createBitVectorFromBits(
- uint32_t Size, const std::vector<int> &SetBits) {
+static inline VecType createBitVectorFromBits(uint32_t Size,
+ const std::vector<int> &SetBits) {
VecType V;
V.resize(Size);
for (auto &BitIndex : SetBits)
``````````
</details>
https://github.com/llvm/llvm-project/pull/170875
More information about the llvm-commits
mailing list