Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp2351 !CurBSI->TheDecl->Encloses(CurContext)) { in getCurBlock()
2375 if (LSI->Lambda && !LSI->Lambda->Encloses(CurContext) && in getEnclosingLambda()
2403 !CurLSI->Lambda->Encloses(CurContext) && CurLSI->AfterParameterList) { in getCurLambda()
H A DSemaExprMember.cpp264 RepClass->Encloses(ContextClass)) in diagnoseInstanceReference()
H A DSemaDecl.cpp1546 } else if (IDC->Encloses(CurContext)) in PushOnScopeChains()
6109 if (!Cur->Encloses(DC) && !(TemplateId || IsMemberSpecialization)) { in diagnoseQualifiedDeclaration()
8213 if (RD->isLambda() && OldDC->Encloses(NewDC->getLexicalParent())) { in CheckShadow()
16972 (OldDC->Encloses(NewDC) || NewDC->Encloses(OldDC))) in isAcceptableTagRedeclContext()
17289 !EnclosingNS->Encloses(ND->getDeclContext())) { in ActOnTag()
H A DSemaTemplate.cpp1923 OutermostContext->Encloses(PrevDecl->getDeclContext()))) { in CheckClassTemplate()
7910 if (!(DC->isFileContext() ? DC->Encloses(SpecializedContext) in CheckTemplateSpecializationScope()
9304 if (CurContext->Encloses(OrigContext)) in CheckExplicitInstantiationScope()
H A DSemaLookup.cpp189 while (!Common->Encloses(EffectiveDC)) in addUsingDirective()
H A DSemaExprCXX.cpp1467 if (LSI->Lambda && !LSI->Lambda->Encloses(CurContext) && in MarkThisReferenced()
H A DSemaExpr.cpp19441 !LSI->CallOperator->Encloses(Var->getDeclContext()))) { in DoMarkPotentialCapture()
19676 if (LSI->Lambda && !LSI->Lambda->Encloses(SemaRef.CurContext) && in FixDependencyOfIdExpressionsInLambdaWithDependentObjectParameter()
H A DSemaCodeComplete.cpp741 CommonAncestor && !CommonAncestor->Encloses(CurContext); in getRequiredQualification()
H A DSemaOpenMP.cpp3172 !SemaRef.getCurLexicalContext()->Encloses( in ActOnOpenMPIdExpression()
4549 if (!VDC->Encloses(SemaRef.CurContext)) in tryCaptureOpenMPLambdas()
H A DSemaOverload.cpp13630 if (Std && Std->Encloses(*it)) in DiagnoseTwoPhaseLookup()
H A DSemaDeclCXX.cpp12156 while (CommonAncestor && !CommonAncestor->Encloses(CurContext)) in ActOnUsingDirective()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp1399 bool DeclContext::Encloses(const DeclContext *DC) const { in Encloses() function in DeclContext
1401 return getPrimaryContext()->Encloses(DC); in Encloses()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h2224 bool Encloses(const DeclContext *DC) const;