Home
last modified time | relevance | path

Searched refs:Encloses (Results 1 – 12 of 12) sorted by relevance

/openbsd/gnu/llvm/clang/lib/Sema/
H A DSema.cpp2303 !CurBSI->TheDecl->Encloses(CurContext)) { in getCurBlock()
2327 if (LSI->Lambda && !LSI->Lambda->Encloses(CurContext)) { in getEnclosingLambda()
2354 !CurLSI->Lambda->Encloses(CurContext)) { in getCurLambda()
H A DSemaExprMember.cpp221 !RepClass->Equals(ContextClass) && RepClass->Encloses(ContextClass)) in diagnoseInstanceReference()
H A DSemaDecl.cpp1584 } else if (IDC->Encloses(CurContext)) in PushOnScopeChains()
6165 if (!Cur->Encloses(DC) && !IsTemplateId) { in diagnoseQualifiedDeclaration()
8219 if (RD->isLambda() && OldDC->Encloses(NewDC->getLexicalParent())) { in CheckShadow()
16596 (OldDC->Encloses(NewDC) || NewDC->Encloses(OldDC))) in isAcceptableTagRedeclContext()
16882 !EnclosingNS->Encloses(ND->getDeclContext())) { in ActOnTag()
H A DSemaTemplate.cpp1934 OutermostContext->Encloses(PrevDecl->getDeclContext()))) { in CheckClassTemplate()
8371 if (!(DC->isFileContext() ? DC->Encloses(SpecializedContext) in CheckTemplateSpecializationScope()
9774 if (CurContext->Encloses(OrigContext)) in CheckExplicitInstantiationScope()
H A DSemaLookup.cpp187 while (!Common->Encloses(EffectiveDC)) in addUsingDirective()
H A DSemaCodeComplete.cpp717 CommonAncestor && !CommonAncestor->Encloses(CurContext); in getRequiredQualification()
H A DSemaOpenMP.cpp3111 !getCurLexicalContext()->Encloses(CanonicalVD->getDeclContext()))) { in ActOnOpenMPIdExpression()
4743 if (!VDC->Encloses(CurContext)) in tryCaptureOpenMPLambdas()
H A DSemaOverload.cpp13101 if (Std && Std->Encloses(*it)) in DiagnoseTwoPhaseLookup()
H A DSemaDeclCXX.cpp11803 while (CommonAncestor && !CommonAncestor->Encloses(CurContext)) in ActOnUsingDirective()
H A DSemaExpr.cpp19745 !LSI->CallOperator->Encloses(Var->getDeclContext()))) { in DoMarkPotentialCapture()
/openbsd/gnu/llvm/clang/lib/AST/
H A DDeclBase.cpp1244 bool DeclContext::Encloses(const DeclContext *DC) const { in Encloses() function in DeclContext
1246 return getPrimaryContext()->Encloses(DC); in Encloses()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DDeclBase.h2057 bool Encloses(const DeclContext *DC) const;