Lines Matching refs:DeclType
4101 /// with DeclType. Return true if something definite is found.
4104 QualType DeclType, SourceLocation DeclLoc,
4139 if (!ConvTemplate && DeclType->isRValueReferenceType()) {
4151 DeclType.getNonReferenceType().getUnqualifiedType(),
4170 Init, DeclType, CandidateSet,
4174 DeclType, CandidateSet,
4229 TryReferenceInit(Sema &S, Expr *Init, QualType DeclType,
4233 assert(DeclType->isReferenceType() && "Reference init needs a reference");
4237 ICS.setBad(BadConversionSequence::no_conversion, Init, DeclType);
4239 QualType T1 = DeclType->getAs<ReferenceType>()->getPointeeType();
4247 if (FunctionDecl *Fn = S.ResolveAddressOfOverloadedFunction(Init, DeclType,
4253 bool isRValRef = DeclType->isRValueReferenceType();
4319 if (FindConversionForRefInit(S, ICS, DeclType, DeclLoc,
4381 FindConversionForRefInit(S, ICS, DeclType, DeclLoc,
4390 ICS.setBad(BadConversionSequence::no_conversion, Init, DeclType);
4475 if (DeclType->isRValueReferenceType() && LValRefType) {
4479 ICS.setBad(BadConversionSequence::lvalue_ref_to_rvalue, Init, DeclType);
10990 // template <typename T> auto foo(T t) -> decltype(foo(t)) {}
10991 // template <typename T> auto foo(T t) -> decltype(foo(&t)) {}