Lines Matching refs:system
1 .. title:: clang-tidy - portability-restrict-system-includes
3 portability-restrict-system-includes
6 Checks to selectively allow or disallow a configurable list of system headers.
10 In order to **only** allow `zlib.h` from the system you would set the options
15 #include <curses.h> // Bad: disallowed system header.
16 #include <openssl/ssl.h> // Bad: disallowed system header.
17 #include <zlib.h> // Good: allowed system header.
18 #include "src/myfile.h" // Good: non-system header always allowed.
20 In order to allow everything **except** `zlib.h` from the system you would set
25 #include <curses.h> // Good: allowed system header.
26 #include <openssl/ssl.h> // Good: allowed system header.
27 #include <zlib.h> // Bad: disallowed system header.
28 #include "src/myfile.h" // Good: non-system header always allowed.
37 #include <curses.h> // Bad: disallowed system header.
38 #include <openssl/ssl.h> // Good: allowed system header.
39 #include <openssl/rsa.h> // Good: allowed system header.
40 #include <zlib.h> // Bad: disallowed system header.
41 #include "src/myfile.h" // Good: non-system header always allowed.