Lines Matching refs:ULE
9262 void Sema::AddOverloadedCallCandidates(UnresolvedLookupExpr *ULE,
9285 if (ULE->requiresADL()) {
9286 for (UnresolvedLookupExpr::decls_iterator I = ULE->decls_begin(),
9287 E = ULE->decls_end(); I != E; ++I) {
9299 if (ULE->hasExplicitTemplateArgs()) {
9300 ULE->copyTemplateArgumentsInto(TABuffer);
9304 for (UnresolvedLookupExpr::decls_iterator I = ULE->decls_begin(),
9305 E = ULE->decls_end(); I != E; ++I)
9310 if (ULE->requiresADL())
9311 AddArgumentDependentLookupCandidates(ULE->getName(), /*Operator*/ false,
9312 ULE->getExprLoc(),
9315 ULE->isStdAssociatedNamespace());
9496 UnresolvedLookupExpr *ULE,
9503 SS.Adopt(ULE->getQualifierLoc());
9504 SourceLocation TemplateKWLoc = ULE->getTemplateKeywordLoc();
9508 if (ULE->hasExplicitTemplateArgs()) {
9509 ULE->copyTemplateArgumentsInto(TABuffer);
9513 LookupResult R(SemaRef, ULE->getName(), ULE->getNameLoc(),
9560 Sema::BuildOverloadedCallExpr(Scope *S, Expr *Fn, UnresolvedLookupExpr *ULE,
9567 if (ULE->requiresADL()) {
9569 assert(!ULE->getQualifier() && "qualified name with ADL");
9574 if (ULE->decls_begin() + 1 == ULE->decls_end() &&
9575 (F = dyn_cast<FunctionDecl>(*ULE->decls_begin())) &&
9582 assert(!ULE->isStdAssociatedNamespace() &&
9594 AddOverloadedCallCandidates(ULE, llvm::makeArrayRef(Args, NumArgs),
9613 return BuildRecoveryCallExpr(*this, S, Fn, ULE, LParenLoc,
9626 CheckUnresolvedLookupAccess(ULE, Best->FoundDecl);
9627 DiagnoseUseOfDecl(FDecl, ULE->getNameLoc());
9636 ExprResult Recovery = BuildRecoveryCallExpr(*this, S, Fn, ULE, LParenLoc,
9646 << ULE->getName() << Fn->getSourceRange();
9654 << ULE->getName() << Fn->getSourceRange();
9663 << ULE->getName()
11135 if (UnresolvedLookupExpr *ULE = dyn_cast<UnresolvedLookupExpr>(E)) {
11138 if (ULE->hasExplicitTemplateArgs()) {
11139 ULE->copyTemplateArgumentsInto(TemplateArgsBuffer);
11144 ULE->getQualifierLoc(),
11145 ULE->getTemplateKeywordLoc(),
11148 ULE->getNameLoc(),
11154 DRE->setHadMultipleCandidates(ULE->getNumDecls() > 1);