[libcxx-commits] [libcxx] [libcxxabi] [libc++][NFC] Move __memory/aligned_alloc.h into src/ (PR #166172)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 3 06:50:53 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 -- libcxx/include/__config libcxxabi/src/fallback_malloc.cpp libcxxabi/src/stdlib_new_delete.cpp libcxx/src/include/aligned_alloc.h --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/libcxxabi/src/stdlib_new_delete.cpp b/libcxxabi/src/stdlib_new_delete.cpp
index be56ddb11..dbb75b128 100644
--- a/libcxxabi/src/stdlib_new_delete.cpp
+++ b/libcxxabi/src/stdlib_new_delete.cpp
@@ -8,7 +8,7 @@
 
 #include "__cxxabi_config.h"
 #include "abort_message.h"
-#include "include/aligned_alloc.h" // from libc++
+#include "include/aligned_alloc.h"        // from libc++
 #include "include/overridable_function.h" // from libc++
 #include <cstddef>
 #include <cstdlib>

``````````

</details>


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


More information about the libcxx-commits mailing list