File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -47,11 +47,11 @@ module;
47
47
48
48
// *** Headers not yet available ***
49
49
//
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 .
55
55
//
56
56
#ifndef _WIN32
57
57
# if __has_include(<debugging>)
Original file line number Diff line number Diff line change @@ -169,11 +169,11 @@ module;
169
169
170
170
// *** Headers not yet available ***
171
171
//
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 .
177
177
//
178
178
#ifndef _WIN32
179
179
# if __has_include(<debugging>)
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ def write_file(module):
61
61
"""
62
62
// *** Headers not yet available ***
63
63
//
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
65
65
// corresponding .inc file is forgotten. However, the check based on __has_include
66
66
// alone doesn't work on Windows because the Windows SDK is on the include path,
67
67
// and that means the MSVC STL headers can be found as well, tricking __has_include
You can’t perform that action at this time.
0 commit comments