[libcxx-commits] [libcxx] has `basic_string` call `basic_string_view`'s assume-valid constructor (PR #105863)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Aug 23 10:36:17 PDT 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 df9767385701b6bb2ff0411ad6b407bcefbfe34c 4f6f58f025a0cef90d13efb539f1812cbf4bdf28 --extensions -- libcxx/include/string libcxx/include/string_view
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/string_view b/libcxx/include/string_view
index c81dbc9873..cf97e3a9be 100644
--- a/libcxx/include/string_view
+++ b/libcxx/include/string_view
@@ -211,8 +211,8 @@ namespace std {
#include <__functional/hash.h>
#include <__functional/unary_function.h>
#include <__fwd/ostream.h>
-#include <__fwd/string_view.h>
#include <__fwd/string.h>
+#include <__fwd/string_view.h>
#include <__iterator/bounded_iter.h>
#include <__iterator/concepts.h>
#include <__iterator/iterator_traits.h>
``````````
</details>
https://github.com/llvm/llvm-project/pull/105863
More information about the libcxx-commits
mailing list