Searched refs:FoundDecls (Results 1 – 2 of 2) sorted by relevance
2592 auto FoundDecls = Importer.findDeclsInToCtx(DC, Name); in VisitNamespaceDecl() local2593 for (auto *FoundDecl : FoundDecls) { in VisitNamespaceDecl()2717 auto FoundDecls = Importer.findDeclsInToCtx(DC, Name); in VisitTypedefNameDecl() local2718 for (auto *FoundDecl : FoundDecls) { in VisitTypedefNameDecl()2831 auto FoundDecls = Importer.findDeclsInToCtx(DC, Name); in VisitTypeAliasTemplateDecl() local2832 for (auto *FoundDecl : FoundDecls) { in VisitTypeAliasTemplateDecl()2938 auto FoundDecls = in VisitEnumDecl() local2940 for (auto *FoundDecl : FoundDecls) { in VisitEnumDecl()3061 auto FoundDecls = in VisitRecordDecl() local3063 if (!FoundDecls.empty()) { in VisitRecordDecl()[all …]
181 llvm::SmallVector<NamedDecl*, 8> FoundDecls; in getDestructorName() local216 FoundDecls.push_back(D); in getDestructorName()374 unsigned NumNonExtensionDecls = FoundDecls.size(); in getDestructorName()400 Diag(FoundDecls.back()->getLocation(), diag::note_destructor_type_here) in getDestructorName()411 FoundDecls.resize(NumNonExtensionDecls); in getDestructorName()414 std::stable_sort(FoundDecls.begin(), FoundDecls.end(), in getDestructorName()434 if (FoundDecls.empty()) { in getDestructorName()438 } else if (!SearchType.isNull() && FoundDecls.size() == 1) { in getDestructorName()439 if (auto *TD = dyn_cast<TypeDecl>(FoundDecls[0]->getUnderlyingDecl())) { in getDestructorName()455 for (NamedDecl *FoundD : FoundDecls) { in getDestructorName()