clang 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::tooling::IncludeStyle::IncludeCategory Struct Reference

See documentation of IncludeCategories. More...

#include "clang/Tooling/Inclusions/IncludeStyle.h"

Public Member Functions

bool operator== (const IncludeCategory &Other) const
 

Public Attributes

std::string Regex
 The regular expression that this category matches.
 
int Priority
 The priority to assign to this category.
 
int SortPriority
 The custom priority to sort before grouping.
 
bool RegexIsCaseSensitive
 If the regular expression is case sensitive.
 

Detailed Description

See documentation of IncludeCategories.

Definition at line 57 of file IncludeStyle.h.

Member Function Documentation

◆ operator==()

bool clang::tooling::IncludeStyle::IncludeCategory::operator== ( const IncludeCategory Other) const
inline

Definition at line 66 of file IncludeStyle.h.

References clang::Other, Priority, Regex, and RegexIsCaseSensitive.

Member Data Documentation

◆ Priority

int clang::tooling::IncludeStyle::IncludeCategory::Priority

The priority to assign to this category.

Definition at line 61 of file IncludeStyle.h.

Referenced by operator==().

◆ Regex

std::string clang::tooling::IncludeStyle::IncludeCategory::Regex

The regular expression that this category matches.

Definition at line 59 of file IncludeStyle.h.

Referenced by operator==().

◆ RegexIsCaseSensitive

bool clang::tooling::IncludeStyle::IncludeCategory::RegexIsCaseSensitive

If the regular expression is case sensitive.

Definition at line 65 of file IncludeStyle.h.

Referenced by operator==().

◆ SortPriority

int clang::tooling::IncludeStyle::IncludeCategory::SortPriority

The custom priority to sort before grouping.

Definition at line 63 of file IncludeStyle.h.


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