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;
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>)
Original file line number Diff line number Diff 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>)
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments