summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-10-05 18:34:25 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-10-08 17:40:21 (GMT)
commit06c0d59c172abd699d48c3ddf883ccc6f723ae9c (patch)
treef18377e8eb231d4a7bd2ae14c9b7066443410a19 /Utilities
parent8c4c658ab062f2920448a02fe3a5d42fe3d48876 (diff)
downloadCMake-06c0d59c172abd699d48c3ddf883ccc6f723ae9c.zip
CMake-06c0d59c172abd699d48c3ddf883ccc6f723ae9c.tar.gz
CMake-06c0d59c172abd699d48c3ddf883ccc6f723ae9c.tar.bz2
IWYU: Map <*> headers to <cm/*> headers
For headers which exclusively contain things that were not present in C++11.
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/IWYU/mapping.imp7
1 files changed, 6 insertions, 1 deletions
diff --git a/Utilities/IWYU/mapping.imp b/Utilities/IWYU/mapping.imp
index 66cb282..c2aced5 100644
--- a/Utilities/IWYU/mapping.imp
+++ b/Utilities/IWYU/mapping.imp
@@ -27,7 +27,7 @@
{ include: [ "<bits/std_abs.h>", private, "<stdlib.h>", public ] },
{ include: [ "<bits/stdint-intn.h>", private, "<stdint.h>", public ] },
{ include: [ "<bits/stdint-uintn.h>", private, "<stdint.h>", public ] },
- { include: [ "<bits/string_view.tcc>", private, "<string_view>", public ] },
+ { include: [ "<bits/string_view.tcc>", private, "<string_view>", private ] },
{ include: [ "<bits/time.h>", private, "<time.h>", public ] },
{ include: [ "<bits/types/clock_t.h>", private, "<time.h>", public ] },
{ include: [ "<bits/types/mbstate_t.h>", private, "<wchar.h>", public ] },
@@ -116,6 +116,11 @@
{ include: [ "<ostream>", public, "\"cmsys/FStream.hxx\"", public ] },
{ include: [ "<fstream>", public, "\"cmsys/FStream.hxx\"", public ] },
+ { include: [ "<filesystem>", private, "<cm/filesystem>", public ] },
+ { include: [ "<optional>", private, "<cm/optional>", public ] },
+ { include: [ "<shared_mutex>", private, "<cm/shared_mutex>", public ] },
+ { include: [ "<string_view>", private, "<cm/string_view>", public ] },
+
# major and minor are used as macro arguments. Those are false matches.
{ symbol: [ "major", private, "\"cmVersion.h\"", public ] },
{ symbol: [ "minor", private, "\"cmVersion.h\"", public ] },