clang-tools 20.0.0git
Classes | Public Member Functions | Public Attributes | List of all members
clang::clangd::DirectoryBasedGlobalCompilationDatabase::DirectoryCache Class Reference

Public Member Functions

 DirectoryCache (llvm::StringRef Path)
 
std::shared_ptr< const tooling::CompilationDatabase > get (const ThreadsafeFS &TFS, bool &ShouldBroadcast, stopwatch::time_point FreshTime, stopwatch::time_point FreshTimeMissing)
 

Public Attributes

const std::string Path
 

Detailed Description

Definition at line 85 of file GlobalCompilationDatabase.cpp.

Constructor & Destructor Documentation

◆ DirectoryCache()

clang::clangd::DirectoryBasedGlobalCompilationDatabase::DirectoryCache::DirectoryCache ( llvm::StringRef  Path)
inline

Definition at line 147 of file GlobalCompilationDatabase.cpp.

Member Function Documentation

◆ get()

std::shared_ptr< const tooling::CompilationDatabase > clang::clangd::DirectoryBasedGlobalCompilationDatabase::DirectoryCache::get ( const ThreadsafeFS TFS,
bool &  ShouldBroadcast,
stopwatch::time_point  FreshTime,
stopwatch::time_point  FreshTimeMissing 
)
inline

Definition at line 165 of file GlobalCompilationDatabase.cpp.

Member Data Documentation

◆ Path

const std::string clang::clangd::DirectoryBasedGlobalCompilationDatabase::DirectoryCache::Path

Definition at line 155 of file GlobalCompilationDatabase.cpp.


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