Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DASTImporter.cpp2352 auto FoundDecls = Importer.findDeclsInToCtx(DC, Name); in VisitNamespaceDecl() local
2353 for (auto *FoundDecl : FoundDecls) { in VisitNamespaceDecl()
2477 auto FoundDecls = Importer.findDeclsInToCtx(DC, Name); in VisitTypedefNameDecl() local
2478 for (auto *FoundDecl : FoundDecls) { in VisitTypedefNameDecl()
2575 auto FoundDecls = Importer.findDeclsInToCtx(DC, Name); in VisitTypeAliasTemplateDecl() local
2576 for (auto *FoundDecl : FoundDecls) { in VisitTypeAliasTemplateDecl()
2678 auto FoundDecls = in VisitEnumDecl() local
2680 for (auto *FoundDecl : FoundDecls) { in VisitEnumDecl()
2792 auto FoundDecls = in VisitRecordDecl() local
2794 if (!FoundDecls.empty()) { in VisitRecordDecl()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExprCXX.cpp174 llvm::SmallVector<NamedDecl*, 8> FoundDecls; in getDestructorName() local
209 FoundDecls.push_back(D); in getDestructorName()
366 unsigned NumNonExtensionDecls = FoundDecls.size(); in getDestructorName()
392 Diag(FoundDecls.back()->getLocation(), diag::note_destructor_type_here) in getDestructorName()
403 FoundDecls.resize(NumNonExtensionDecls); in getDestructorName()
406 std::stable_sort(FoundDecls.begin(), FoundDecls.end(), in getDestructorName()
426 if (FoundDecls.empty()) { in getDestructorName()
430 } else if (!SearchType.isNull() && FoundDecls.size() == 1) { in getDestructorName()
431 if (auto *TD = dyn_cast<TypeDecl>(FoundDecls[0]->getUnderlyingDecl())) { in getDestructorName()
447 for (NamedDecl *FoundD : FoundDecls) { in getDestructorName()