[libc-commits] [libc] [libc][stdlib] Add EnvironmentManager (PR #195260)
via libc-commits
libc-commits at lists.llvm.org
Wed May 6 00:19:49 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 -- libc/src/stdlib/environ_internal.cpp libc/src/stdlib/environ_internal.h libc/src/stdlib/getenv.cpp --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/libc/src/stdlib/environ_internal.cpp b/libc/src/stdlib/environ_internal.cpp
index 63cda23f5..1bd498a0f 100644
--- a/libc/src/stdlib/environ_internal.cpp
+++ b/libc/src/stdlib/environ_internal.cpp
@@ -12,11 +12,11 @@
//===----------------------------------------------------------------------===//
#include "src/stdlib/environ_internal.h"
-#include "src/stdlib/config/app.h"
#include "src/__support/CPP/new.h"
#include "src/__support/CPP/string_view.h"
#include "src/__support/alloc-checker.h"
#include "src/__support/macros/config.h"
+#include "src/stdlib/config/app.h"
namespace LIBC_NAMESPACE_DECL {
namespace internal {
``````````
</details>
https://github.com/llvm/llvm-project/pull/195260
More information about the libc-commits
mailing list