clang-tools  11.0.0
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:
[legend]

Public Attributes

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

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 157 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 161 of file ConfigFragment.h.


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