]> git.sesse.net Git - stockfish/blob - .github/workflows/libcxx17.imp
Let CI check C++ includes
[stockfish] / .github / workflows / libcxx17.imp
1 [
2     # Mappings for libcxx's internal headers
3     { include: [ "<__fwd/fstream.h>", private, "<iosfwd>", public ] },
4     { include: [ "<__fwd/ios.h>", private, "<iosfwd>", public ] },
5     { include: [ "<__fwd/istream.h>", private, "<iosfwd>", public ] },
6     { include: [ "<__fwd/ostream.h>", private, "<iosfwd>", public ] },
7     { include: [ "<__fwd/sstream.h>", private, "<iosfwd>", public ] },
8     { include: [ "<__fwd/streambuf.h>", private, "<iosfwd>", public ] },
9     { include: [ "<__fwd/string_view.h>", private, "<string_view>", public ] },
10
11     # Mappings for includes between public headers
12     { include: [ "<ios>", public, "<iostream>", public ] },
13     { include: [ "<streambuf>", public, "<iostream>", public ] },
14     { include: [ "<istream>", public, "<iostream>", public ] },
15     { include: [ "<ostream>", public, "<iostream>", public ] },
16     { include: [ "<iosfwd>", public, "<iostream>", public ] },
17
18     # Missing mappings in include-what-you-use's libcxx.imp
19     { include: ["@<__condition_variable/.*>", private, "<condition_variable>", public ] },
20     { include: ["@<__mutex/.*>", private, "<mutex>", public ] },
21 ]