Skip to content

Commit 484d5e4

Browse files
mordantecopybara-github
authored andcommitted
[libc++][modules] Regenerates files.
After applying the review comments of llvm/llvm-project#80478 I've forgotten to update the generated files. This fixes the issue and removes trailing whitespace. NOKEYCHECK=True GitOrigin-RevId: f66f44eb0c194f6bd0b6387d778624b303b6edc1
1 parent 47e0f5c commit 484d5e4

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

modules/std.compat.cppm.in

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ module;
4747

4848
// *** Headers not yet available ***
4949
//
50-
// This validation is mainly to aid libc++ developers to add modules for new
51-
// headers. On Windows the Windows SDK can be in the include path. This SDK
52-
// contains the MSVC STL headers. This may give false positives when MSVC STL
53-
// provides a header libc++ has not implemented yet. Therefore this validation
54-
// is not done on Windows.
50+
// This validation is mainly to catch when a new header is added but adding the
51+
// corresponding .inc file is forgotten. However, the check based on __has_include
52+
// alone doesn't work on Windows because the Windows SDK is on the include path,
53+
// and that means the MSVC STL headers can be found as well, tricking __has_include
54+
// into thinking that libc++ provides the header.
5555
//
5656
#ifndef _WIN32
5757
# if __has_include(<debugging>)

modules/std.cppm.in

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@ module;
169169

170170
// *** Headers not yet available ***
171171
//
172-
// This validation is mainly to aid libc++ developers to add modules for new
173-
// headers. On Windows the Windows SDK can be in the include path. This SDK
174-
// contains the MSVC STL headers. This may give false positives when MSVC STL
175-
// provides a header libc++ has not implemented yet. Therefore this validation
176-
// is not done on Windows.
172+
// This validation is mainly to catch when a new header is added but adding the
173+
// corresponding .inc file is forgotten. However, the check based on __has_include
174+
// alone doesn't work on Windows because the Windows SDK is on the include path,
175+
// and that means the MSVC STL headers can be found as well, tricking __has_include
176+
// into thinking that libc++ provides the header.
177177
//
178178
#ifndef _WIN32
179179
# if __has_include(<debugging>)

utils/generate_libcxx_cppm_in.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def write_file(module):
6161
"""
6262
// *** Headers not yet available ***
6363
//
64-
// This validation is mainly to catch when a new header is added but adding the
64+
// This validation is mainly to catch when a new header is added but adding the
6565
// corresponding .inc file is forgotten. However, the check based on __has_include
6666
// alone doesn't work on Windows because the Windows SDK is on the include path,
6767
// and that means the MSVC STL headers can be found as well, tricking __has_include

0 commit comments

Comments
 (0)