Lines Matching refs:Contexts
1498 void collectAllContextsImpl(T *Self, SmallVectorImpl<DeclContext *> &Contexts) { in collectAllContextsImpl() argument
1500 Contexts.push_back(D); in collectAllContextsImpl()
1502 std::reverse(Contexts.begin(), Contexts.end()); in collectAllContextsImpl()
1505 void DeclContext::collectAllContexts(SmallVectorImpl<DeclContext *> &Contexts) { in collectAllContexts() argument
1506 Contexts.clear(); in collectAllContexts()
1511 collectAllContextsImpl(static_cast<TranslationUnitDecl *>(this), Contexts); in collectAllContexts()
1513 collectAllContextsImpl(static_cast<NamespaceDecl *>(this), Contexts); in collectAllContexts()
1515 Contexts.push_back(this); in collectAllContexts()
1792 SmallVector<DeclContext *, 2> Contexts; in buildLookup() local
1793 collectAllContexts(Contexts); in buildLookup()
1797 for (auto *DC : Contexts) { in buildLookup()
1809 for (auto *DC : Contexts) in buildLookup()
1937 SmallVector<DeclContext *, 2> Contexts; in loadLazyLocalLexicalLookups() local
1938 collectAllContexts(Contexts); in loadLazyLocalLexicalLookups()
1939 for (auto *Context : Contexts) in loadLazyLocalLexicalLookups()