Made llvmlibc::RestrictSystemLibcHeadersCheck a subclass of protability::RestrictSystemIncludesCheck to re-use common code between the two.
This also adds the ability to white list linux development headers.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM aside from some small nits!
clang-tools-extra/clang-tidy/llvmlibc/CMakeLists.txt | ||
---|---|---|
15 | Can you keep this list sorted in alphabetical order? | |
clang-tools-extra/clang-tidy/portability/RestrictSystemIncludesCheck.h | ||
85 | Can you add a newline to the end of the file (as a drive-by)? | |
clang-tools-extra/docs/clang-tidy/checks/llvmlibc-restrict-system-libc-headers.rst | ||
32 | whitelist -> allow |
Can you keep this list sorted in alphabetical order?