clang-tools  15.0.0git
Classes | Public Attributes | List of all members
clang::clangd::config::Fragment::IndexBlock Struct Reference

Controls how clangd understands code outside the current file. More...

#include <ConfigFragment.h>

Collaboration diagram for clang::clangd::config::Fragment::IndexBlock:
Collaboration graph
[legend]

Classes

struct  ExternalBlock
 An external index uses data source outside of clangd itself. More...
 

Public Attributes

llvm::Optional< Located< std::string > > Background
 Whether files are built in the background to produce a project index. More...
 
llvm::Optional< Located< ExternalBlock > > External
 
llvm::Optional< Located< bool > > StandardLibrary
 

Detailed Description

Controls how clangd understands code outside the current file.

clangd's indexes provide information about symbols that isn't available to clang's parser, such as incoming references.

Definition at line 178 of file ConfigFragment.h.

Member Data Documentation

◆ Background

llvm::Optional<Located<std::string> > clang::clangd::config::Fragment::IndexBlock::Background

Whether files are built in the background to produce a project index.

This is checked for translation units only, not headers they include. Legal values are "Build" or "Skip".

Definition at line 182 of file ConfigFragment.h.

◆ External

llvm::Optional<Located<ExternalBlock> > clang::clangd::config::Fragment::IndexBlock::External

Definition at line 201 of file ConfigFragment.h.

◆ StandardLibrary

llvm::Optional<Located<bool> > clang::clangd::config::Fragment::IndexBlock::StandardLibrary

Definition at line 204 of file ConfigFragment.h.


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