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

Public Member Functions

 FileConfigCache (llvm::StringRef Path, llvm::StringRef Directory)
 
void get (const ThreadsafeFS &TFS, DiagnosticCallback DC, std::chrono::steady_clock::time_point FreshTime, bool Trusted, std::vector< CompiledFragment > &Out) const
 

Additional Inherited Members

- Protected Member Functions inherited from clang::clangd::FileCache
 FileCache (PathRef Path)
 
void read (const ThreadsafeFS &TFS, std::chrono::steady_clock::time_point FreshTime, llvm::function_ref< void(llvm::Optional< llvm::StringRef >)> Parse, llvm::function_ref< void()> Read) const
 
PathRef path () const
 

Detailed Description

Definition at line 30 of file ConfigProvider.cpp.

Constructor & Destructor Documentation

◆ FileConfigCache()

clang::clangd::config::FileConfigCache::FileConfigCache ( llvm::StringRef  Path,
llvm::StringRef  Directory 
)
inline

Definition at line 35 of file ConfigProvider.cpp.

References Directory.

Member Function Documentation

◆ get()

void clang::clangd::config::FileConfigCache::get ( const ThreadsafeFS TFS,
DiagnosticCallback  DC,
std::chrono::steady_clock::time_point  FreshTime,
bool  Trusted,
std::vector< CompiledFragment > &  Out 
) const
inline

Definition at line 38 of file ConfigProvider.cpp.

References clang::clangd::FileCache::read().


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