clang-tools 22.0.0git
|
Warns of accidental inclusions of system libc headers that aren't compiler provided. More...
#include <RestrictSystemLibcHeadersCheck.h>
Public Member Functions | |
RestrictSystemLibcHeadersCheck (StringRef Name, ClangTidyContext *Context) | |
void | registerPPCallbacks (const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) override |
Public Member Functions inherited from clang::tidy::portability::RestrictSystemIncludesCheck | |
RestrictSystemIncludesCheck (StringRef Name, ClangTidyContext *Context, std::string DefaultAllowedIncludes="*") | |
void | registerPPCallbacks (const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) override |
void | storeOptions (ClangTidyOptions::OptionMap &Opts) override |
bool | contains (StringRef FileName) |
Warns of accidental inclusions of system libc headers that aren't compiler provided.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/llvmlibc/restrict-system-libc-headers.html
Definition at line 22 of file RestrictSystemLibcHeadersCheck.h.
|
inline |
Definition at line 25 of file RestrictSystemLibcHeadersCheck.h.
References clang::tidy::portability::RestrictSystemIncludesCheck::RestrictSystemIncludesCheck().
|
override |
Definition at line 58 of file RestrictSystemLibcHeadersCheck.cpp.