[libcxx-commits] [libcxx] [lldb] [lldb][test] Don't run libc++ API tests without a locally built libc++ (PR #162657)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Oct 9 07:11:08 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 origin/main HEAD --extensions cpp -- libcxx/src/memory.cpp
``````````
: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/src/memory.cpp b/libcxx/src/memory.cpp
index a3db8d3df..0715cd23f 100644
--- a/libcxx/src/memory.cpp
+++ b/libcxx/src/memory.cpp
@@ -29,7 +29,8 @@ _LIBCPP_BEGIN_NAMESPACE_STD
bad_weak_ptr::~bad_weak_ptr() noexcept {}
-struct __Blah {} __blah;
+struct __Blah {
+} __blah;
const char* bad_weak_ptr::what() const noexcept { return "bad_weak_ptr"; }
``````````
</details>
https://github.com/llvm/llvm-project/pull/162657
More information about the libcxx-commits
mailing list