clang-tools 22.0.0git
clang::tidy::portability::RestrictedIncludesPPCallbacks Class Reference

#include <RestrictSystemIncludesCheck.h>

Inheritance diagram for clang::tidy::portability::RestrictedIncludesPPCallbacks:
[legend]

Public Member Functions

 RestrictedIncludesPPCallbacks (RestrictSystemIncludesCheck &Check, const SourceManager &SM)
void InclusionDirective (SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, CharSourceRange FilenameRange, OptionalFileEntryRef File, StringRef SearchPath, StringRef RelativePath, const Module *SuggestedModule, bool ModuleImported, SrcMgr::CharacteristicKind FileType) override
void EndOfMainFile () override

Detailed Description

Definition at line 43 of file RestrictSystemIncludesCheck.h.

Constructor & Destructor Documentation

◆ RestrictedIncludesPPCallbacks()

clang::tidy::portability::RestrictedIncludesPPCallbacks::RestrictedIncludesPPCallbacks ( RestrictSystemIncludesCheck & Check,
const SourceManager & SM )
inlineexplicit

Definition at line 45 of file RestrictSystemIncludesCheck.h.

Member Function Documentation

◆ EndOfMainFile()

void clang::tidy::portability::RestrictedIncludesPPCallbacks::EndOfMainFile ( )
override

Definition at line 38 of file RestrictSystemIncludesCheck.cpp.

◆ InclusionDirective()

void clang::tidy::portability::RestrictedIncludesPPCallbacks::InclusionDirective ( SourceLocation HashLoc,
const Token & IncludeTok,
StringRef FileName,
bool IsAngled,
CharSourceRange FilenameRange,
OptionalFileEntryRef File,
StringRef SearchPath,
StringRef RelativePath,
const Module * SuggestedModule,
bool ModuleImported,
SrcMgr::CharacteristicKind FileType )
override

Definition at line 45 of file RestrictSystemLibcHeadersCheck.cpp.

References InclusionDirective().

Referenced by InclusionDirective().


The documentation for this class was generated from the following files: