clang-tools 20.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]

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

◆ 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 46 of file RestrictSystemLibcHeadersCheck.cpp.

References FileName, InclusionDirective(), and IsAngled.

Referenced by InclusionDirective().


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