Skip to content

Commit

Permalink
Fix merge and format errors
Browse files Browse the repository at this point in the history
  • Loading branch information
frederick-vs-ja committed Oct 22, 2024
1 parent 6c4b524 commit cb71036
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion libcxx/test/libcxx/header_inclusions.gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
)

for header in public_headers:
header_guard = lambda h: f"_LIBCPP_{str(h).upper().replace('.', '_').replace('/', '_')}"
header_guard = (
lambda h: f"_LIBCPP_{str(h).upper().replace('.', '_').replace('/', '_')}"
)

# <cassert> has no header guards
if header == "cassert":
Expand Down
2 changes: 1 addition & 1 deletion libcxx/utils/libcxx/header_information.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def has_cxx20_module(self) -> bool:
experimental headers.
"""
# These headers have been removed in C++20 so are never part of a module.
removed_in_20 = ["ccomplex", "ciso646", "cstdbool", "ctgmath"]
removed_in_20 = ["ccomplex", "ciso646", "cstdalign", "cstdbool", "ctgmath"]
return self.is_public() and not self.is_experimental() and not self.is_C_compatibility() and not self._name in removed_in_20

def is_in_modulemap(self) -> bool:
Expand Down

0 comments on commit cb71036

Please sign in to comment.