[libcxx-commits] [libcxx] Add some private headers to libcxx.imp (PR #89568)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Apr 21 21:31:15 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r 5ff44dbaea27d442c89278871dc2f75942d54716...3dcc3b7750395a05c943ecb5f065acfae1046e49 libcxx/utils/libcxx/header_information.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- header_information.py 2024-04-18 09:17:00.000000 +0000
+++ header_information.py 2024-04-22 04:30:54.297637 +0000
@@ -200,20 +200,21 @@
experimental_headers = sorted(
p.relative_to(include).as_posix()
for p in include.glob("experimental/[a-z]*")
if is_header(p)
)
-public_headers = list(filter(lambda x: not x.startswith("__"), toplevel_headers + experimental_headers))
+public_headers = list(
+ filter(lambda x: not x.startswith("__"), toplevel_headers + experimental_headers)
+)
# The headers used in the std and std.compat modules.
#
# This is the set of all C++23-and-later headers, excluding C compatibility headers.
module_headers = [
header
for header in toplevel_headers
- if not header.endswith(".h")
- and not header.startswith("__")
+ if not header.endswith(".h") and not header.startswith("__")
# These headers have been removed in C++20 so are never part of a module.
and not header in ["ccomplex", "ciso646", "cstdbool", "ctgmath"]
]
# The C headers used in the std and std.compat modules.
``````````
</details>
https://github.com/llvm/llvm-project/pull/89568
More information about the libcxx-commits
mailing list