IWYU: Map <*> headers to <cm/*> headers
For headers which exclusively contain things that were not present in C++11.
This commit is contained in:
parent
8c4c658ab0
commit
06c0d59c17
@ -8,7 +8,6 @@
|
||||
#include <vector>
|
||||
|
||||
#include <cm/filesystem>
|
||||
#include <cm/iomanip>
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -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 ] },
|
||||
|
Loading…
Reference in New Issue
Block a user