clang-tools 20.0.0git
|
A named tuple that contains the information for a mix between two concrete parameters. More...
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 ConversionSequence & | leftToRightConversionSequence () const |
const ConversionSequence & | rightToLeftConversionSequence () const |
Public Attributes | |
const ParmVarDecl * | First |
const ParmVarDecl * | Second |
MixData | Data |
A named tuple that contains the information for a mix between two concrete parameters.
Definition at line 500 of file EasilySwappableParametersCheck.cpp.
|
inline |
Definition at line 504 of file EasilySwappableParametersCheck.cpp.
|
inline |
Definition at line 511 of file EasilySwappableParametersCheck.cpp.
References clang::tidy::bugprone::model::MixData::CommonType, and Data.
|
inline |
Definition at line 508 of file EasilySwappableParametersCheck.cpp.
References Data, and clang::tidy::bugprone::model::MixData::Flags.
|
inline |
Definition at line 509 of file EasilySwappableParametersCheck.cpp.
References Data, and clang::tidy::bugprone::model::MixData::isValid().
|
inline |
Definition at line 512 of file EasilySwappableParametersCheck.cpp.
References clang::tidy::bugprone::model::MixData::Conversion, and Data.
|
inline |
Definition at line 510 of file EasilySwappableParametersCheck.cpp.
References Data, and clang::tidy::bugprone::model::MixData::indicatesMixability().
|
inline |
Definition at line 515 of file EasilySwappableParametersCheck.cpp.
References clang::tidy::bugprone::model::MixData::ConversionRTL, and Data.
|
inline |
Definition at line 507 of file EasilySwappableParametersCheck.cpp.
References Data, and clang::tidy::bugprone::model::MixData::sanitize().
MixData clang::tidy::bugprone::model::Mix::Data |
Definition at line 502 of file EasilySwappableParametersCheck.cpp.
Referenced by commonUnderlyingType(), flags(), flagsValid(), leftToRightConversionSequence(), mixable(), rightToLeftConversionSequence(), and sanitize().
const ParmVarDecl* clang::tidy::bugprone::model::Mix::First |
Definition at line 501 of file EasilySwappableParametersCheck.cpp.
const ParmVarDecl * clang::tidy::bugprone::model::Mix::Second |
Definition at line 501 of file EasilySwappableParametersCheck.cpp.