clang-tools  14.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
 

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 170 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 174 of file ConfigFragment.h.

◆ External

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

Definition at line 193 of file ConfigFragment.h.


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