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

Controls IncludeCleaner diagnostics. More...

#include <ConfigFragment.h>

Public Attributes

std::vector< Located< std::string > > IgnoreHeader
 Regexes that will be used to avoid diagnosing certain includes as unused or missing.
 
std::optional< Located< bool > > AnalyzeAngledIncludes
 If false (default), unused system headers will be ignored.
 

Detailed Description

Controls IncludeCleaner diagnostics.

Definition at line 253 of file ConfigFragment.h.

Member Data Documentation

◆ AnalyzeAngledIncludes

std::optional<Located<bool> > clang::clangd::config::Fragment::DiagnosticsBlock::IncludesBlock::AnalyzeAngledIncludes

If false (default), unused system headers will be ignored.

Standard library headers are analyzed regardless of this option.

Definition at line 261 of file ConfigFragment.h.

◆ IgnoreHeader

std::vector<Located<std::string> > clang::clangd::config::Fragment::DiagnosticsBlock::IncludesBlock::IgnoreHeader

Regexes that will be used to avoid diagnosing certain includes as unused or missing.

These can match any suffix of the header file in question.

Definition at line 257 of file ConfigFragment.h.


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