Lines Matching refs:Contexts
1434 void collectAllContextsImpl(T *Self, SmallVectorImpl<DeclContext *> &Contexts) { in collectAllContextsImpl() argument
1436 Contexts.push_back(D); in collectAllContextsImpl()
1438 std::reverse(Contexts.begin(), Contexts.end()); in collectAllContextsImpl()
1441 void DeclContext::collectAllContexts(SmallVectorImpl<DeclContext *> &Contexts) { in collectAllContexts() argument
1442 Contexts.clear(); in collectAllContexts()
1447 collectAllContextsImpl(static_cast<TranslationUnitDecl *>(this), Contexts); in collectAllContexts()
1449 collectAllContextsImpl(static_cast<NamespaceDecl *>(this), Contexts); in collectAllContexts()
1451 Contexts.push_back(this); in collectAllContexts()
1728 SmallVector<DeclContext *, 2> Contexts; in buildLookup() local
1729 collectAllContexts(Contexts); in buildLookup()
1733 for (auto *DC : Contexts) { in buildLookup()
1745 for (auto *DC : Contexts) in buildLookup()
1873 SmallVector<DeclContext *, 2> Contexts; in loadLazyLocalLexicalLookups() local
1874 collectAllContexts(Contexts); in loadLazyLocalLexicalLookups()
1875 for (auto *Context : Contexts) in loadLazyLocalLexicalLookups()