clang-tools  15.0.0git
Public Member Functions | List of all members
clang::clangd::IncludeStructure::RecordHeaders Class Reference
Inheritance diagram for clang::clangd::IncludeStructure::RecordHeaders:
Inheritance graph
[legend]
Collaboration diagram for clang::clangd::IncludeStructure::RecordHeaders:
Collaboration graph
[legend]

Public Member Functions

 RecordHeaders (const CompilerInstance &CI, IncludeStructure *Out)
 
void InclusionDirective (SourceLocation HashLoc, const Token &IncludeTok, llvm::StringRef FileName, bool IsAngled, CharSourceRange, Optional< FileEntryRef > File, llvm::StringRef, llvm::StringRef, const clang::Module *, SrcMgr::CharacteristicKind FileKind) override
 
void FileChanged (SourceLocation Loc, FileChangeReason Reason, SrcMgr::CharacteristicKind FileType, FileID PrevFID) override
 
bool HandleComment (Preprocessor &PP, SourceRange Range) override
 

Detailed Description

Definition at line 29 of file Headers.cpp.

Constructor & Destructor Documentation

◆ RecordHeaders()

clang::clangd::IncludeStructure::RecordHeaders::RecordHeaders ( const CompilerInstance &  CI,
IncludeStructure Out 
)
inline

Definition at line 32 of file Headers.cpp.

References Out.

Member Function Documentation

◆ FileChanged()

void clang::clangd::IncludeStructure::RecordHeaders::FileChanged ( SourceLocation  Loc,
FileChangeReason  Reason,
SrcMgr::CharacteristicKind  FileType,
FileID  PrevFID 
)
inlineoverride

◆ HandleComment()

bool clang::clangd::IncludeStructure::RecordHeaders::HandleComment ( Preprocessor &  PP,
SourceRange  Range 
)
inlineoverride

Definition at line 131 of file Headers.cpp.

◆ InclusionDirective()

void clang::clangd::IncludeStructure::RecordHeaders::InclusionDirective ( SourceLocation  HashLoc,
const Token &  IncludeTok,
llvm::StringRef  FileName,
bool  IsAngled,
CharSourceRange  ,
Optional< FileEntryRef >  File,
llvm::StringRef  ,
llvm::StringRef  ,
const clang::Module *  ,
SrcMgr::CharacteristicKind  FileKind 
)
inlineoverride

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