Home | History | Annotate | Download | only in AST

Lines Matching refs:Contexts

873 DeclContext::collectAllContexts(SmallVectorImpl<DeclContext *> &Contexts){
874 Contexts.clear();
877 Contexts.push_back(this);
884 Contexts.push_back(N);
886 std::reverse(Contexts.begin(), Contexts.end());
1164 /// declarations in this DeclContext (and any other contexts linked
1165 /// to it or transparent contexts nested within it) and return it.
1173 SmallVector<DeclContext *, 2> Contexts;
1174 collectAllContexts(Contexts);
1175 for (unsigned I = 0, N = Contexts.size(); I != N; ++I)
1177 &DeclContext::decls_end>(Contexts[I]);
1287 SmallVector<DeclContext *, 2> Contexts;
1288 collectAllContexts(Contexts);
1289 for (unsigned I = 0, N = Contexts.size(); I != N; ++I)
1291 &DeclContext::noload_decls_end>(Contexts[I]);
1348 // Skip through transparent contexts.
1356 // Skip through non-namespace, non-translation-unit contexts.
1363 // For non-file contexts, this is equivalent to Equals.