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

#include <GlobalCompilationDatabase.h>

Collaboration diagram for clang::clangd::DirectoryBasedGlobalCompilationDatabase::Options:
Collaboration graph
[legend]

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
 
llvm::Optional< PathCompileCommandsDir
 

Detailed Description

Definition at line 95 of file GlobalCompilationDatabase.h.

Constructor & Destructor Documentation

◆ Options()

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

Definition at line 96 of file GlobalCompilationDatabase.h.

Member Data Documentation

◆ CompileCommandsDir

llvm::Optional<Path> clang::clangd::DirectoryBasedGlobalCompilationDatabase::Options::CompileCommandsDir

Definition at line 110 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 100 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 104 of file GlobalCompilationDatabase.h.

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

◆ TFS

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

Definition at line 98 of file GlobalCompilationDatabase.h.


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