Home
last modified time | relevance | path

Searched refs:ConversionSet (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Sema/
H A DOverload.h419 using ConversionSet = member
424 char Buffer[sizeof(ConversionSet)];
437 ConversionSet &conversions() { in conversions()
438 return *reinterpret_cast<ConversionSet*>(Buffer); in conversions()
441 const ConversionSet &conversions() const { in conversions()
442 return *reinterpret_cast<const ConversionSet*>(Buffer); in conversions()
449 using iterator = ConversionSet::iterator;
454 using const_iterator = ConversionSet::const_iterator;
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DEasilySwappableParametersCheck.cpp1206 UserDefinedConversionSelector ConversionSet{Check}; in tryConversionOperators() local
1217 ConversionSet.addConversion(Con, Con->getConversionType(), ToType); in tryConversionOperators()
1221 SelectedConversion = ConversionSet()) { in tryConversionOperators()
1257 UserDefinedConversionSelector ConversionSet{Check}; in tryConvertingConstructors() local
1268 ConversionSet.addConversion(Con, FromType, Con->getParamDecl(0)->getType()); in tryConvertingConstructors()
1272 SelectedConversion = ConversionSet()) { in tryConvertingConstructors()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaOverload.cpp569 new (&conversions()) ConversionSet(); in construct()
573 conversions().~ConversionSet(); in destruct()
580 new (&conversions()) ConversionSet(O.conversions()); in copyFrom()