Searched refs:FoundDecls (Results 1 – 2 of 2) sorted by relevance
2862 auto FoundDecls = Importer.findDeclsInToCtx(DC, Name); in VisitNamespaceDecl() local2863 for (auto *FoundDecl : FoundDecls) { in VisitNamespaceDecl()2987 auto FoundDecls = Importer.findDeclsInToCtx(DC, Name); in VisitTypedefNameDecl() local2988 for (auto *FoundDecl : FoundDecls) { in VisitTypedefNameDecl()3101 auto FoundDecls = Importer.findDeclsInToCtx(DC, Name); in VisitTypeAliasTemplateDecl() local3102 for (auto *FoundDecl : FoundDecls) { in VisitTypeAliasTemplateDecl()3208 auto FoundDecls = in VisitEnumDecl() local3210 for (auto *FoundDecl : FoundDecls) { in VisitEnumDecl()3331 auto FoundDecls = in VisitRecordDecl() local3333 if (!FoundDecls.empty()) { in VisitRecordDecl()[all …]
160 llvm::SmallVector<NamedDecl*, 8> FoundDecls; in getDestructorName() local195 FoundDecls.push_back(D); in getDestructorName()357 unsigned NumNonExtensionDecls = FoundDecls.size(); in getDestructorName()383 Diag(FoundDecls.back()->getLocation(), diag::note_destructor_type_here) in getDestructorName()394 FoundDecls.resize(NumNonExtensionDecls); in getDestructorName()397 llvm::stable_sort(FoundDecls, [](NamedDecl *A, NamedDecl *B) { in getDestructorName()416 if (FoundDecls.empty()) { in getDestructorName()420 } else if (!SearchType.isNull() && FoundDecls.size() == 1) { in getDestructorName()421 if (auto *TD = dyn_cast<TypeDecl>(FoundDecls[0]->getUnderlyingDecl())) { in getDestructorName()437 for (NamedDecl *FoundD : FoundDecls) { in getDestructorName()