clang-tools 19.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 82 of file GlobalCompilationDatabase.cpp.

Constructor & Destructor Documentation

◆ DirectoryCache()

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

Definition at line 144 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 162 of file GlobalCompilationDatabase.cpp.

Member Data Documentation

◆ Path

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

Definition at line 152 of file GlobalCompilationDatabase.cpp.


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