clang-tools 20.0.0git
Public Attributes | List of all members
clang::clangd::config::Fragment::StyleBlock Struct Reference

#include <ConfigFragment.h>

Public Attributes

std::vector< Located< std::string > > FullyQualifiedNamespaces
 
std::vector< Located< std::string > > QuotedHeaders
 List of regexes for headers that should always be included with a ""-style include.
 
std::vector< Located< std::string > > AngledHeaders
 List of regexes for headers that should always be included with a <>-style include.
 

Detailed Description

Definition at line 298 of file ConfigFragment.h.

Member Data Documentation

◆ AngledHeaders

std::vector<Located<std::string> > clang::clangd::config::Fragment::StyleBlock::AngledHeaders

List of regexes for headers that should always be included with a <>-style include.

By default, and in case of a conflict with AngledHeaders (i.e. a header matches a regex in both QuotedHeaders and AngledHeaders), system headers use <> and non-system headers use "". These can match any suffix of the header file in question. Matching is performed against the header text, not its absolute path within the project.

Definition at line 320 of file ConfigFragment.h.

◆ FullyQualifiedNamespaces

std::vector<Located<std::string> > clang::clangd::config::Fragment::StyleBlock::FullyQualifiedNamespaces

Definition at line 303 of file ConfigFragment.h.

◆ QuotedHeaders

std::vector<Located<std::string> > clang::clangd::config::Fragment::StyleBlock::QuotedHeaders

List of regexes for headers that should always be included with a ""-style include.

By default, and in case of a conflict with AngledHeaders (i.e. a header matches a regex in both QuotedHeaders and AngledHeaders), system headers use <> and non-system headers use "". These can match any suffix of the header file in question. Matching is performed against the header text, not its absolute path within the project.

Definition at line 312 of file ConfigFragment.h.


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