clang-tools 22.0.0git
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 306 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 absolute path of the header within the project.

Definition at line 328 of file ConfigFragment.h.

◆ FullyQualifiedNamespaces

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

Definition at line 311 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 absolute path of the header within the project.

Definition at line 320 of file ConfigFragment.h.


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