[llvm] [ADT] Add convenience function `filter_to_vector` (PR #117460)

via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 23 19:50:07 PST 2024


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 ed1d90ca11b1834e667e17255ba2ecf6fe305e8c 035bb06d676abe3f11f7d9631c6bac9497026c2d --extensions cpp,h -- llvm/unittests/ADT/SmallVectorExtrasTest.cpp llvm/include/llvm/ADT/SmallVectorExtras.h
``````````

</details>

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

``````````diff
diff --git a/llvm/unittests/ADT/SmallVectorExtrasTest.cpp b/llvm/unittests/ADT/SmallVectorExtrasTest.cpp
index 43a51d22b4..e6606372d7 100644
--- a/llvm/unittests/ADT/SmallVectorExtrasTest.cpp
+++ b/llvm/unittests/ADT/SmallVectorExtrasTest.cpp
@@ -1,4 +1,5 @@
-//===- llvm/unittest/ADT/SmallVectorExtrasTest.cpp ------------------------------===//
+//===- llvm/unittest/ADT/SmallVectorExtrasTest.cpp
+//------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

``````````

</details>


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


More information about the llvm-commits mailing list