clang-tools  14.0.0git
Public Types | Public Member Functions | Public Attributes | List of all members
clang::tidy::bugprone::model::MixableParameterRange Struct Reference
Collaboration diagram for clang::tidy::bugprone::model::MixableParameterRange:
Collaboration graph
[legend]

Public Types

using MixVector = SmallVector< Mix, 8 >
 A container for Mixes. More...
 

Public Member Functions

const ParmVarDecl * getFirstParam () const
 Gets the leftmost parameter of the range. More...
 
const ParmVarDecl * getLastParam () const
 Gets the rightmost parameter of the range. More...
 

Public Attributes

std::size_t NumParamsChecked = 0
 The number of parameters iterated to build the instance. More...
 
MixVector Mixes
 The individual flags and supporting information for the mixes. More...
 

Detailed Description

Definition at line 516 of file EasilySwappableParametersCheck.cpp.

Member Typedef Documentation

◆ MixVector

A container for Mixes.

Definition at line 518 of file EasilySwappableParametersCheck.cpp.

Member Function Documentation

◆ getFirstParam()

const ParmVarDecl* clang::tidy::bugprone::model::MixableParameterRange::getFirstParam ( ) const
inline

Gets the leftmost parameter of the range.

Definition at line 527 of file EasilySwappableParametersCheck.cpp.

◆ getLastParam()

const ParmVarDecl* clang::tidy::bugprone::model::MixableParameterRange::getLastParam ( ) const
inline

Gets the rightmost parameter of the range.

Definition at line 534 of file EasilySwappableParametersCheck.cpp.

Member Data Documentation

◆ Mixes

MixVector clang::tidy::bugprone::model::MixableParameterRange::Mixes

The individual flags and supporting information for the mixes.

Definition at line 524 of file EasilySwappableParametersCheck.cpp.

◆ NumParamsChecked

std::size_t clang::tidy::bugprone::model::MixableParameterRange::NumParamsChecked = 0

The number of parameters iterated to build the instance.

Definition at line 521 of file EasilySwappableParametersCheck.cpp.


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