clang-tools  14.0.0git
Public Member Functions | Public Attributes | List of all members
clang::tidy::bugprone::model::Mix Struct Reference

A named tuple that contains the information for a mix between two concrete parameters. More...

Collaboration diagram for clang::tidy::bugprone::model::Mix:
Collaboration graph
[legend]

Public Member Functions

 Mix (const ParmVarDecl *F, const ParmVarDecl *S, MixData Data)
 
void sanitize ()
 
MixFlags flags () const
 
bool flagsValid () const
 
bool mixable () const
 
QualType commonUnderlyingType () const
 
const ConversionSequenceleftToRightConversionSequence () const
 
const ConversionSequencerightToLeftConversionSequence () const
 

Public Attributes

const ParmVarDecl * First
 
const ParmVarDecl * Second
 
MixData Data
 

Detailed Description

A named tuple that contains the information for a mix between two concrete parameters.

Definition at line 490 of file EasilySwappableParametersCheck.cpp.

Constructor & Destructor Documentation

◆ Mix()

clang::tidy::bugprone::model::Mix::Mix ( const ParmVarDecl *  F,
const ParmVarDecl *  S,
MixData  Data 
)
inline

Definition at line 494 of file EasilySwappableParametersCheck.cpp.

Member Function Documentation

◆ commonUnderlyingType()

QualType clang::tidy::bugprone::model::Mix::commonUnderlyingType ( ) const
inline

Definition at line 501 of file EasilySwappableParametersCheck.cpp.

◆ flags()

MixFlags clang::tidy::bugprone::model::Mix::flags ( ) const
inline

Definition at line 498 of file EasilySwappableParametersCheck.cpp.

◆ flagsValid()

bool clang::tidy::bugprone::model::Mix::flagsValid ( ) const
inline

Definition at line 499 of file EasilySwappableParametersCheck.cpp.

◆ leftToRightConversionSequence()

const ConversionSequence& clang::tidy::bugprone::model::Mix::leftToRightConversionSequence ( ) const
inline

Definition at line 502 of file EasilySwappableParametersCheck.cpp.

◆ mixable()

bool clang::tidy::bugprone::model::Mix::mixable ( ) const
inline

Definition at line 500 of file EasilySwappableParametersCheck.cpp.

◆ rightToLeftConversionSequence()

const ConversionSequence& clang::tidy::bugprone::model::Mix::rightToLeftConversionSequence ( ) const
inline

Definition at line 505 of file EasilySwappableParametersCheck.cpp.

◆ sanitize()

void clang::tidy::bugprone::model::Mix::sanitize ( )
inline

Definition at line 497 of file EasilySwappableParametersCheck.cpp.

Member Data Documentation

◆ Data

MixData clang::tidy::bugprone::model::Mix::Data

Definition at line 492 of file EasilySwappableParametersCheck.cpp.

◆ First

const ParmVarDecl* clang::tidy::bugprone::model::Mix::First

Definition at line 491 of file EasilySwappableParametersCheck.cpp.

◆ Second

const ParmVarDecl * clang::tidy::bugprone::model::Mix::Second

Definition at line 491 of file EasilySwappableParametersCheck.cpp.


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