Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DASTImporter.cpp2479 SmallVector<NamedDecl *, 2> FoundDecls; in VisitNamespaceDecl() local
2480 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() local
2546 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 …]
/external/clang/unittests/AST/
DASTImporterTest.cpp84 SmallVector<NamedDecl *, 4> FoundDecls; in testImport() local
86 ImportDeclName, FoundDecls); in testImport()
88 if (FoundDecls.size() != 1) in testImport()
91 auto Imported = Importer.Import(*FoundDecls.begin()); in testImport()