Searched refs:FoundDecls (Results 1 – 2 of 2) sorted by relevance
2479 SmallVector<NamedDecl *, 2> FoundDecls; in VisitNamespaceDecl() local2480 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitNamespaceDecl()2481 for (unsigned I = 0, N = FoundDecls.size(); I != N; ++I) { in VisitNamespaceDecl()2482 if (!FoundDecls[I]->isInIdentifierNamespace(Decl::IDNS_Namespace)) in VisitNamespaceDecl()2485 if (NamespaceDecl *FoundNS = dyn_cast<NamespaceDecl>(FoundDecls[I])) { in VisitNamespaceDecl()2491 ConflictingDecls.push_back(FoundDecls[I]); in VisitNamespaceDecl()2545 SmallVector<NamedDecl *, 2> FoundDecls; in VisitTypedefNameDecl() local2546 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitTypedefNameDecl()2547 for (unsigned I = 0, N = FoundDecls.size(); I != N; ++I) { in VisitTypedefNameDecl()2548 if (!FoundDecls[I]->isInIdentifierNamespace(IDNS)) in VisitTypedefNameDecl()[all …]
84 SmallVector<NamedDecl *, 4> FoundDecls; in testImport() local86 ImportDeclName, FoundDecls); in testImport()88 if (FoundDecls.size() != 1) in testImport()91 auto Imported = Importer.Import(*FoundDecls.begin()); in testImport()