clang-tools  14.0.0git
Classes | Public Member Functions | List of all members
clang::tidy::portability::RestrictedIncludesPPCallbacks Class Reference

#include <RestrictSystemIncludesCheck.h>

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

Public Member Functions

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

Detailed Description

Definition at line 45 of file RestrictSystemIncludesCheck.h.

Constructor & Destructor Documentation

◆ RestrictedIncludesPPCallbacks()

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

Definition at line 47 of file RestrictSystemIncludesCheck.h.

Member Function Documentation

◆ EndOfMainFile()

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

◆ InclusionDirective()

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

Definition at line 47 of file RestrictSystemLibcHeadersCheck.cpp.


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