|
clang-tools 23.0.0git
|
This namespace contains the implementations for the suppression of diagnostics from similarly-used ("related") parameters. More...
Typedefs | |
| template<typename T, std::size_t N = SmallDataStructureSize> | |
| using | ParamToSmallSetMap |
| template<typename T, std::size_t N = SmallDataStructureSize> | |
| using | ParamToSmallPtrSetMap |
Functions | |
| template<typename MapTy, typename ElemTy> | |
| static bool | lazyMapOfSetsIntersectionExists (const MapTy &Map, const ElemTy &E1, const ElemTy &E2) |
| Returns whether the sets mapped to the two elements in the map have at least one element in common. | |
Variables | |
| static constexpr std::size_t | SmallDataStructureSize = 4 |
This namespace contains the implementations for the suppression of diagnostics from similarly-used ("related") parameters.
| using clang::tidy::bugprone::filter::relatedness_heuristic::ParamToSmallPtrSetMap |
Definition at line 1590 of file EasilySwappableParametersCheck.cpp.
| using clang::tidy::bugprone::filter::relatedness_heuristic::ParamToSmallSetMap |
Definition at line 1586 of file EasilySwappableParametersCheck.cpp.
|
static |
Returns whether the sets mapped to the two elements in the map have at least one element in common.
Definition at line 1596 of file EasilySwappableParametersCheck.cpp.
|
staticconstexpr |
Definition at line 1583 of file EasilySwappableParametersCheck.cpp.