Home
last modified time | relevance | path

Searched refs:FoundDecls (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp2592 auto FoundDecls = Importer.findDeclsInToCtx(DC, Name); in VisitNamespaceDecl() local
2593 for (auto *FoundDecl : FoundDecls) { in VisitNamespaceDecl()
2717 auto FoundDecls = Importer.findDeclsInToCtx(DC, Name); in VisitTypedefNameDecl() local
2718 for (auto *FoundDecl : FoundDecls) { in VisitTypedefNameDecl()
2831 auto FoundDecls = Importer.findDeclsInToCtx(DC, Name); in VisitTypeAliasTemplateDecl() local
2832 for (auto *FoundDecl : FoundDecls) { in VisitTypeAliasTemplateDecl()
2938 auto FoundDecls = in VisitEnumDecl() local
2940 for (auto *FoundDecl : FoundDecls) { in VisitEnumDecl()
3061 auto FoundDecls = in VisitRecordDecl() local
3063 if (!FoundDecls.empty()) { in VisitRecordDecl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp181 llvm::SmallVector<NamedDecl*, 8> FoundDecls; in getDestructorName() local
216 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()