Lines Matching refs:Contexts
1313 void collectAllContextsImpl(T *Self, SmallVectorImpl<DeclContext *> &Contexts) { in collectAllContextsImpl() argument
1315 Contexts.push_back(D); in collectAllContextsImpl()
1317 std::reverse(Contexts.begin(), Contexts.end()); in collectAllContextsImpl()
1320 void DeclContext::collectAllContexts(SmallVectorImpl<DeclContext *> &Contexts) { in collectAllContexts() argument
1321 Contexts.clear(); in collectAllContexts()
1326 collectAllContextsImpl(static_cast<TranslationUnitDecl *>(this), Contexts); in collectAllContexts()
1328 collectAllContextsImpl(static_cast<NamespaceDecl *>(this), Contexts); in collectAllContexts()
1330 Contexts.push_back(this); in collectAllContexts()
1607 SmallVector<DeclContext *, 2> Contexts; in buildLookup() local
1608 collectAllContexts(Contexts); in buildLookup()
1612 for (auto *DC : Contexts) { in buildLookup()
1624 for (auto *DC : Contexts) in buildLookup()
1752 SmallVector<DeclContext *, 2> Contexts; in loadLazyLocalLexicalLookups() local
1753 collectAllContexts(Contexts); in loadLazyLocalLexicalLookups()
1754 for (auto *Context : Contexts) in loadLazyLocalLexicalLookups()