• Home
  • Raw
  • Download

Lines Matching refs:Found

368   LookupResult Found(*this, NNS->getAsIdentifier(), SourceLocation(),  in FindFirstQualifierInScope()  local
370 LookupName(Found, S); in FindFirstQualifierInScope()
371 assert(!Found.isAmbiguous() && "Cannot handle ambiguities here yet"); in FindFirstQualifierInScope()
373 if (!Found.isSingleResult()) in FindFirstQualifierInScope()
376 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope()
388 LookupResult Found(*this, &II, IdLoc, LookupNestedNameSpecifierName); in isNonTypeNestedNameSpecifier() local
404 Found.setContextRange(SS.getRange()); in isNonTypeNestedNameSpecifier()
418 LookupQualifiedName(Found, LookupCtx); in isNonTypeNestedNameSpecifier()
422 LookupName(Found, S); in isNonTypeNestedNameSpecifier()
424 Found.suppressDiagnostics(); in isNonTypeNestedNameSpecifier()
426 return Found.getAsSingle<NamespaceDecl>(); in isNonTypeNestedNameSpecifier()
491 LookupResult Found(*this, &Identifier, IdentifierLoc, in BuildCXXNestedNameSpecifier() local
510 Found.setContextRange(SS.getRange()); in BuildCXXNestedNameSpecifier()
525 LookupQualifiedName(Found, LookupCtx); in BuildCXXNestedNameSpecifier()
527 if (!ObjectType.isNull() && Found.empty()) { in BuildCXXNestedNameSpecifier()
549 LookupName(Found, S); in BuildCXXNestedNameSpecifier()
551 Found.addDecl(ScopeLookupResult); in BuildCXXNestedNameSpecifier()
557 LookupName(Found, S); in BuildCXXNestedNameSpecifier()
560 if (Found.isAmbiguous()) in BuildCXXNestedNameSpecifier()
565 if (Found.empty() && isDependent && in BuildCXXNestedNameSpecifier()
581 if (Found.empty() && !ErrorRecoveryLookup) { in BuildCXXNestedNameSpecifier()
584 LookupResult R(*this, Found.getLookupNameInfo(), LookupOrdinaryName); in BuildCXXNestedNameSpecifier()
612 if (Found.empty() && !ErrorRecoveryLookup && !getLangOpts().MSVCCompat) { in BuildCXXNestedNameSpecifier()
615 DeclarationName Name = Found.getLookupName(); in BuildCXXNestedNameSpecifier()
616 Found.clear(); in BuildCXXNestedNameSpecifier()
618 Found.getLookupNameInfo(), Found.getLookupKind(), S, &SS, in BuildCXXNestedNameSpecifier()
636 SourceRange(Found.getNameLoc())); in BuildCXXNestedNameSpecifier()
639 Found.addDecl(ND); in BuildCXXNestedNameSpecifier()
640 Found.setLookupName(Corrected.getCorrection()); in BuildCXXNestedNameSpecifier()
642 Found.setLookupName(&Identifier); in BuildCXXNestedNameSpecifier()
647 Found.isSingleResult() ? Found.getRepresentativeDecl() : nullptr; in BuildCXXNestedNameSpecifier()
771 if (Found.empty()) { in BuildCXXNestedNameSpecifier()
772 Found.clear(LookupOrdinaryName); in BuildCXXNestedNameSpecifier()
773 LookupName(Found, S); in BuildCXXNestedNameSpecifier()
806 if (!Found.empty()) { in BuildCXXNestedNameSpecifier()
807 if (TypeDecl *TD = Found.getAsSingle<TypeDecl>()) in BuildCXXNestedNameSpecifier()
813 if (NamedDecl *ND = Found.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier()