clang-tools 22.0.0git
clang::clangd::SymbolCollector::HeaderFileURICache Class Reference

Public Member Functions

 HeaderFileURICache (Preprocessor *&PP, const SourceManager &SM, const SymbolCollector::Options &Opts)
const std::string & toURI (const FileEntryRef FE)
const std::string & toURI (llvm::StringRef Path)
llvm::StringRef getIncludeHeader (FileID FID)
llvm::StringRef mapCanonical (llvm::StringRef HeaderPath)

Detailed Description

Definition at line 244 of file SymbolCollector.cpp.

Constructor & Destructor Documentation

◆ HeaderFileURICache()

clang::clangd::SymbolCollector::HeaderFileURICache::HeaderFileURICache ( Preprocessor *& PP,
const SourceManager & SM,
const SymbolCollector::Options & Opts )
inline

Definition at line 267 of file SymbolCollector.cpp.

Member Function Documentation

◆ getIncludeHeader()

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

Definition at line 296 of file SymbolCollector.cpp.

◆ mapCanonical()

llvm::StringRef clang::clangd::SymbolCollector::HeaderFileURICache::mapCanonical ( llvm::StringRef HeaderPath)
inline

◆ toURI() [1/2]

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

Definition at line 274 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 286 of file SymbolCollector.cpp.

References clang::clangd::File, and toURI().


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