[libcxx-commits] [libcxx] [libc++] Implement Tombstone Traits (PR #237502)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Oct 30 23:47:31 PDT 2026
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 -- libcxx/include/__memory/tombstone_traits.h libcxx/test/libcxx/memory/tombstone_traits/bool.pass.cpp libcxx/test/libcxx/memory/tombstone_traits/pointer.pass.cpp libcxx/test/libcxx/memory/tombstone_traits/reference_wrapper.pass.cpp libcxx/test/libcxx/memory/tombstone_traits/string.pass.cpp libcxx/test/libcxx/memory/tombstone_traits/string_view.pass.cpp libcxx/test/libcxx/memory/tombstone_traits/unique_ptr.pass.cpp libcxx/include/__functional/reference_wrapper.h libcxx/include/__memory/unique_ptr.h libcxx/include/__type_traits/enable_if.h libcxx/include/__type_traits/is_fundamental.h libcxx/include/string libcxx/include/string_view --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/libcxx/include/string b/libcxx/include/string
index 3e9dd1bca..d83771808 100644
--- a/libcxx/include/string
+++ b/libcxx/include/string
@@ -928,7 +928,7 @@ private:
return std::__make_bounded_iter(__p, __get_pointer(), __get_pointer() + size());
# else
return const_iterator(__p);
-# endif // _LIBCPP_ABI_BOUNDED_ITERATORS_IN_STRING
+# endif // _LIBCPP_ABI_BOUNDED_ITERATORS_IN_STRING
}
public:
``````````
</details>
https://github.com/llvm/llvm-project/pull/237502
More information about the libcxx-commits
mailing list