clang-tools  14.0.0git
Public Member Functions | List of all members
clang::clangd::SymbolCollector::HeaderFileURICache Class Reference

Public Member Functions

 HeaderFileURICache (const std::shared_ptr< Preprocessor > &PP, const SourceManager &SM, const SymbolCollector::Options &Opts)
 
const std::string & toURI (const FileEntry *FE)
 
const std::string & toURI (llvm::StringRef Path)
 
llvm::StringRef getIncludeHeader (FileID FID)
 

Detailed Description

Definition at line 185 of file SymbolCollector.cpp.

Constructor & Destructor Documentation

◆ HeaderFileURICache()

clang::clangd::SymbolCollector::HeaderFileURICache::HeaderFileURICache ( const std::shared_ptr< Preprocessor > &  PP,
const SourceManager &  SM,
const SymbolCollector::Options Opts 
)
inline

Definition at line 198 of file SymbolCollector.cpp.

Member Function Documentation

◆ getIncludeHeader()

llvm::StringRef clang::clangd::SymbolCollector::HeaderFileURICache::getIncludeHeader ( FileID  FID)
inline

Definition at line 228 of file SymbolCollector.cpp.

◆ toURI() [1/2]

const std::string& clang::clangd::SymbolCollector::HeaderFileURICache::toURI ( const FileEntry *  FE)
inline

Definition at line 206 of file SymbolCollector.cpp.

References clang::clangd::getCanonicalPath().

Referenced by toURI().

◆ toURI() [2/2]

const std::string& clang::clangd::SymbolCollector::HeaderFileURICache::toURI ( llvm::StringRef  Path)
inline

Definition at line 218 of file SymbolCollector.cpp.

References toURI().


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