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.cpp2862 auto FoundDecls = Importer.findDeclsInToCtx(DC, Name); in VisitNamespaceDecl() local
2863 for (auto *FoundDecl : FoundDecls) { in VisitNamespaceDecl()
2987 auto FoundDecls = Importer.findDeclsInToCtx(DC, Name); in VisitTypedefNameDecl() local
2988 for (auto *FoundDecl : FoundDecls) { in VisitTypedefNameDecl()
3101 auto FoundDecls = Importer.findDeclsInToCtx(DC, Name); in VisitTypeAliasTemplateDecl() local
3102 for (auto *FoundDecl : FoundDecls) { in VisitTypeAliasTemplateDecl()
3208 auto FoundDecls = in VisitEnumDecl() local
3210 for (auto *FoundDecl : FoundDecls) { in VisitEnumDecl()
3331 auto FoundDecls = in VisitRecordDecl() local
3333 if (!FoundDecls.empty()) { in VisitRecordDecl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp160 llvm::SmallVector<NamedDecl*, 8> FoundDecls; in getDestructorName() local
195 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()