Searched refs:Encloses (Results 1 – 11 of 11) sorted by relevance
981 bool DeclContext::Encloses(const DeclContext *DC) const { in Encloses() function in DeclContext983 return getPrimaryContext()->Encloses(DC); in Encloses()
1191 !CurBSI->TheDecl->Encloses(CurContext)) { in getCurBlock()1206 !CurLSI->Lambda->Encloses(CurContext)) { in getCurLambda()
973 OutermostContext->Encloses(PrevDecl->getDeclContext()))) { in CheckClassTemplate()5973 if (!DC->Encloses(SpecializedContext) && in CheckTemplateSpecializationScope()6010 bool IsCPlusPlus11Extension = DC->Encloses(SpecializedContext); in CheckTemplateSpecializationScope()7267 if (CurContext->Encloses(OrigContext)) in CheckExplicitInstantiationScope()
220 !RepClass->Equals(ContextClass) && RepClass->Encloses(ContextClass)) in diagnoseInstanceReference()
184 while (!Common->Encloses(EffectiveDC)) in addUsingDirective()1009 Lexical->Encloses(Semantic)) in findOuterContext()
1294 } else if (IDC->Encloses(CurContext)) in PushOnScopeChains()4864 if (!Cur->Encloses(DC)) { in diagnoseQualifiedDeclaration()12219 (OldDC->Encloses(NewDC) || NewDC->Encloses(OldDC))) in isAcceptableTagRedeclContext()12473 !EnclosingNS->Encloses(ND->getDeclContext())) { in ActOnTag()
455 CommonAncestor && !CommonAncestor->Encloses(CurContext); in getRequiredQualification()
1236 !getCurLexicalContext()->Encloses(CanonicalVD->getDeclContext()))) { in ActOnOpenMPIdExpression()
11122 if (Std && Std->Encloses(*it)) in DiagnoseTwoPhaseLookup()
7765 while (CommonAncestor && !CommonAncestor->Encloses(CurContext)) in ActOnUsingDirective()
1336 bool Encloses(const DeclContext *DC) const;