clang-tools 17.0.0git
|
Implements the heuristic that marks two parameters related if the same member is accessed (referred to) inside the current function's body. More...
Public Member Functions | |
void | setup (const FunctionDecl *FD) |
bool | operator() (const ParmVarDecl *Param1, const ParmVarDecl *Param2) const |
Implements the heuristic that marks two parameters related if the same member is accessed (referred to) inside the current function's body.
Definition at line 1696 of file EasilySwappableParametersCheck.cpp.
|
inline |
Definition at line 1715 of file EasilySwappableParametersCheck.cpp.
References clang::tidy::bugprone::filter::relatedness_heuristic::lazyMapOfSetsIntersectionExists().
|
inline |
Definition at line 1700 of file EasilySwappableParametersCheck.cpp.
Referenced by clang::tidy::bugprone::filter::SimilarlyUsedParameterPairSuppressor::SimilarlyUsedParameterPairSuppressor().