clang-tools 19.0.0git
Public Member Functions | Public Attributes | List of all members
clang::clangd::DirectoryBasedGlobalCompilationDatabase::Options Struct Reference

#include <GlobalCompilationDatabase.h>

Public Member Functions

 Options (const ThreadsafeFS &TFS)
 

Public Attributes

const ThreadsafeFSTFS
 
std::chrono::steady_clock::duration RevalidateAfter
 
std::chrono::steady_clock::duration RevalidateMissingAfter
 
std::function< Context(llvm::StringRef)> ContextProvider
 
std::optional< PathCompileCommandsDir
 

Detailed Description

Definition at line 94 of file GlobalCompilationDatabase.h.

Constructor & Destructor Documentation

◆ Options()

clang::clangd::DirectoryBasedGlobalCompilationDatabase::Options::Options ( const ThreadsafeFS TFS)
inline

Definition at line 95 of file GlobalCompilationDatabase.h.

Member Data Documentation

◆ CompileCommandsDir

std::optional<Path> clang::clangd::DirectoryBasedGlobalCompilationDatabase::Options::CompileCommandsDir

Definition at line 109 of file GlobalCompilationDatabase.h.

◆ ContextProvider

std::function<Context(llvm::StringRef)> clang::clangd::DirectoryBasedGlobalCompilationDatabase::Options::ContextProvider

◆ RevalidateAfter

std::chrono::steady_clock::duration clang::clangd::DirectoryBasedGlobalCompilationDatabase::Options::RevalidateAfter
Initial value:
=
std::chrono::seconds(5)

Definition at line 99 of file GlobalCompilationDatabase.h.

Referenced by clang::clangd::DirectoryBasedGlobalCompilationDatabase::getCompileCommand().

◆ RevalidateMissingAfter

std::chrono::steady_clock::duration clang::clangd::DirectoryBasedGlobalCompilationDatabase::Options::RevalidateMissingAfter
Initial value:
=
std::chrono::seconds(30)

Definition at line 103 of file GlobalCompilationDatabase.h.

Referenced by clang::clangd::DirectoryBasedGlobalCompilationDatabase::getCompileCommand().

◆ TFS

const ThreadsafeFS& clang::clangd::DirectoryBasedGlobalCompilationDatabase::Options::TFS

Definition at line 97 of file GlobalCompilationDatabase.h.


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