Lines Matching defs:Conv
303 // [conv.bool], and those aren't considered narrowing conversions.
1432 /// conversion sequence (C++ [conv], C++ [over.ics.scs]) from the
1446 // Standard conversions (C++ [conv])
1720 auto Conv = S.CheckSingleAssignmentConstraints(ToType, ER,
1724 if (Conv != Sema::Compatible)
1789 // C++11 [conv.prom]p3:
1801 // C++11 [conv.prom]p4:
1830 // C++0x [conv.prom]p2:
2140 // C++ [conv.ptr]p3:
3056 /// functions (C++0x [class.conv.fct]p2).
3177 CXXConversionDecl *Conv;
3180 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl());
3182 Conv = cast<CXXConversionDecl>(D);
3184 if (AllowExplicit || !Conv->isExplicit()) {
3191 S.AddConversionCandidate(Conv, FoundDecl, ActingContext,
4121 CXXConversionDecl *Conv;
4123 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl());
4125 Conv = cast<CXXConversionDecl>(D);
4129 if (!AllowExplicit && Conv->isExplicit())
4141 = Conv->getConversionType()->getAs<LValueReferenceType>();
4149 Conv->getConversionType().getNonReferenceType()
4161 Conv->getConversionType()->getAs<ReferenceType>();
4173 S.AddConversionCandidate(Conv, I.getPair(), ActingDC, Init,
4973 /// expression From to bool (C++0x [conv]p3).
4986 /// of the expression From to bool (C++0x [conv]p3).
5282 CXXConversionDecl *Conv =
5284 QualType ConvTy = Conv->getConversionType().getNonReferenceType();
5285 Converter.noteAmbiguous(SemaRef, Conv, ConvTy);
5380 CXXConversionDecl *Conv;
5383 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl());
5385 Conv = cast<CXXConversionDecl>(D);
5392 SemaRef.AddConversionCandidate(Conv, FoundDecl, ActingContext, From,
5516 // C++1y [conv]p6:
6297 /// [over.match.conv]p1 and [over.match.ref]p1.
6335 /// candidate in the candidate set (C++ [over.match.conv],
6361 // Per C++ [over.match.conv]p1, [over.match.ref]p1, an explicit conversion
6506 /// [temp.deduct.conv]).
7048 CXXConversionDecl *Conv = cast<CXXConversionDecl>(D);
7049 if (AllowExplicitConversions || !Conv->isExplicit()) {
7050 AddTypesConvertedFrom(Conv->getConversionType(), Loc, false, false,
7106 if (CXXConversionDecl *Conv = dyn_cast<CXXConversionDecl>(D)) {
7107 QualType CanTy = Context.getCanonicalType(Conv->getConversionType());
8944 const ImplicitConversionSequence &Conv = Cand->Conversions[I];
8945 assert(Conv.isBad());
8963 Expr *FromExpr = Conv.Bad.FromExpr;
8964 QualType FromTy = Conv.Bad.getFromType();
8965 QualType ToTy = Conv.Bad.getToType();
12240 CXXConversionDecl *Conv = cast<CXXConversionDecl>(D);
12241 if (!Conv->isExplicit()) {
12244 QualType ConvType = Conv->getConversionType().getNonReferenceType();
12250 AddSurrogateCandidate(Conv, I.getPair(), ActingContext, Proto,
12305 CXXConversionDecl *Conv
12313 assert(Conv == Best->FoundDecl.getDecl() &&
12322 Conv, HadMultipleCandidates);