• Home
  • Raw
  • Download

Lines Matching refs:Found

303   LookupResult Found(*this, NNS->getAsIdentifier(), SourceLocation(),  in FindFirstQualifierInScope()  local
305 LookupName(Found, S); in FindFirstQualifierInScope()
306 assert(!Found.isAmbiguous() && "Cannot handle ambiguities here yet"); in FindFirstQualifierInScope()
308 if (!Found.isSingleResult()) in FindFirstQualifierInScope()
311 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope()
323 LookupResult Found(*this, &II, IdLoc, LookupNestedNameSpecifierName); in isNonTypeNestedNameSpecifier() local
339 Found.setContextRange(SS.getRange()); in isNonTypeNestedNameSpecifier()
353 LookupQualifiedName(Found, LookupCtx); in isNonTypeNestedNameSpecifier()
357 LookupName(Found, S); in isNonTypeNestedNameSpecifier()
359 Found.suppressDiagnostics(); in isNonTypeNestedNameSpecifier()
361 if (NamedDecl *ND = Found.getAsSingle<NamedDecl>()) in isNonTypeNestedNameSpecifier()
390 LookupResult Found(*this, &Identifier, IdentifierLoc, in BuildCXXNestedNameSpecifier() local
407 Found.setContextRange(SS.getRange()); in BuildCXXNestedNameSpecifier()
423 LookupQualifiedName(Found, LookupCtx); in BuildCXXNestedNameSpecifier()
425 if (!ObjectType.isNull() && Found.empty()) { in BuildCXXNestedNameSpecifier()
447 LookupName(Found, S); in BuildCXXNestedNameSpecifier()
449 Found.addDecl(ScopeLookupResult); in BuildCXXNestedNameSpecifier()
455 LookupName(Found, S); in BuildCXXNestedNameSpecifier()
460 if (Found.empty() && isDependent && in BuildCXXNestedNameSpecifier()
478 if (Found.empty() && !ErrorRecoveryLookup) { in BuildCXXNestedNameSpecifier()
481 DeclarationName Name = Found.getLookupName(); in BuildCXXNestedNameSpecifier()
483 Found.clear(); in BuildCXXNestedNameSpecifier()
484 if ((Corrected = CorrectTypo(Found.getLookupNameInfo(), in BuildCXXNestedNameSpecifier()
485 Found.getLookupKind(), S, &SS, LookupCtx, in BuildCXXNestedNameSpecifier()
491 Diag(Found.getNameLoc(), diag::err_no_member_suggest) in BuildCXXNestedNameSpecifier()
493 << FixItHint::CreateReplacement(Found.getNameLoc(), CorrectedStr); in BuildCXXNestedNameSpecifier()
495 Diag(Found.getNameLoc(), diag::err_undeclared_var_use_suggest) in BuildCXXNestedNameSpecifier()
497 << FixItHint::CreateReplacement(Found.getNameLoc(), CorrectedStr); in BuildCXXNestedNameSpecifier()
501 Found.addDecl(ND); in BuildCXXNestedNameSpecifier()
503 Found.setLookupName(Corrected.getCorrection()); in BuildCXXNestedNameSpecifier()
505 Found.setLookupName(&Identifier); in BuildCXXNestedNameSpecifier()
509 NamedDecl *SD = Found.getAsSingle<NamedDecl>(); in BuildCXXNestedNameSpecifier()
613 if (Found.empty()) { in BuildCXXNestedNameSpecifier()
614 Found.clear(LookupOrdinaryName); in BuildCXXNestedNameSpecifier()
615 LookupName(Found, S); in BuildCXXNestedNameSpecifier()
619 if (!Found.empty()) in BuildCXXNestedNameSpecifier()