Searched refs:FoundDecls (Results 1 – 2 of 2) sorted by relevance
2379 auto FoundDecls = Importer.findDeclsInToCtx(DC, Name); in VisitNamespaceDecl() local2380 for (auto *FoundDecl : FoundDecls) { in VisitNamespaceDecl()2504 auto FoundDecls = Importer.findDeclsInToCtx(DC, Name); in VisitTypedefNameDecl() local2505 for (auto *FoundDecl : FoundDecls) { in VisitTypedefNameDecl()2602 auto FoundDecls = Importer.findDeclsInToCtx(DC, Name); in VisitTypeAliasTemplateDecl() local2603 for (auto *FoundDecl : FoundDecls) { in VisitTypeAliasTemplateDecl()2707 auto FoundDecls = in VisitEnumDecl() local2709 for (auto *FoundDecl : FoundDecls) { in VisitEnumDecl()2821 auto FoundDecls = in VisitRecordDecl() local2823 if (!FoundDecls.empty()) { in VisitRecordDecl()[all …]
180 llvm::SmallVector<NamedDecl*, 8> FoundDecls; in getDestructorName() local215 FoundDecls.push_back(D); in getDestructorName()372 unsigned NumNonExtensionDecls = FoundDecls.size(); in getDestructorName()398 Diag(FoundDecls.back()->getLocation(), diag::note_destructor_type_here) in getDestructorName()409 FoundDecls.resize(NumNonExtensionDecls); in getDestructorName()412 std::stable_sort(FoundDecls.begin(), FoundDecls.end(), in getDestructorName()432 if (FoundDecls.empty()) { in getDestructorName()436 } else if (!SearchType.isNull() && FoundDecls.size() == 1) { in getDestructorName()437 if (auto *TD = dyn_cast<TypeDecl>(FoundDecls[0]->getUnderlyingDecl())) { in getDestructorName()453 for (NamedDecl *FoundD : FoundDecls) { in getDestructorName()