clang-tools 22.0.0git
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 104 of file GlobalCompilationDatabase.h.

Constructor & Destructor Documentation

◆ Options()

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

Definition at line 105 of file GlobalCompilationDatabase.h.

References TFS.

Member Data Documentation

◆ CompileCommandsDir

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

Definition at line 119 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 109 of file GlobalCompilationDatabase.h.

◆ RevalidateMissingAfter

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

Definition at line 113 of file GlobalCompilationDatabase.h.

◆ TFS

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

Definition at line 107 of file GlobalCompilationDatabase.h.

Referenced by Options().


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