clang-tools 19.0.0git
Classes | Public Member Functions | List of all members
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 198 of file SymbolCollector.cpp.

Constructor & Destructor Documentation

◆ HeaderFileURICache()

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

Definition at line 221 of file SymbolCollector.cpp.

Member Function Documentation

◆ getIncludeHeader()

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

Definition at line 250 of file SymbolCollector.cpp.

◆ mapCanonical()

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

◆ toURI() [1/2]

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

Definition at line 228 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)

Definition at line 240 of file SymbolCollector.cpp.

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

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