Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp1335 bool DeclContext::Encloses(const DeclContext *DC) const { in Encloses() function in DeclContext
1337 return getPrimaryContext()->Encloses(DC); in Encloses()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp2349 !CurBSI->TheDecl->Encloses(CurContext)) { in getCurBlock()
2373 if (LSI->Lambda && !LSI->Lambda->Encloses(CurContext) && in getEnclosingLambda()
2401 !CurLSI->Lambda->Encloses(CurContext) && CurLSI->AfterParameterList) { in getCurLambda()
H A DSemaExprMember.cpp244 RepClass->Encloses(ContextClass)) in diagnoseInstanceReference()
H A DSemaDecl.cpp1609 } else if (IDC->Encloses(CurContext)) in PushOnScopeChains()
6302 if (!Cur->Encloses(DC) && !IsTemplateId) { in diagnoseQualifiedDeclaration()
8401 if (RD->isLambda() && OldDC->Encloses(NewDC->getLexicalParent())) { in CheckShadow()
17200 (OldDC->Encloses(NewDC) || NewDC->Encloses(OldDC))) in isAcceptableTagRedeclContext()
17486 !EnclosingNS->Encloses(ND->getDeclContext())) { in ActOnTag()
H A DSemaTemplate.cpp1979 OutermostContext->Encloses(PrevDecl->getDeclContext()))) { in CheckClassTemplate()
8669 if (!(DC->isFileContext() ? DC->Encloses(SpecializedContext) in CheckTemplateSpecializationScope()
10071 if (CurContext->Encloses(OrigContext)) in CheckExplicitInstantiationScope()
H A DSemaLookup.cpp187 while (!Common->Encloses(EffectiveDC)) in addUsingDirective()
H A DSemaCodeComplete.cpp738 CommonAncestor && !CommonAncestor->Encloses(CurContext); in getRequiredQualification()
H A DSemaOpenMP.cpp3135 !getCurLexicalContext()->Encloses(CanonicalVD->getDeclContext()))) { in ActOnOpenMPIdExpression()
4758 if (!VDC->Encloses(CurContext)) in tryCaptureOpenMPLambdas()
H A DSemaOverload.cpp13605 if (Std && Std->Encloses(*it)) in DiagnoseTwoPhaseLookup()
H A DSemaDeclCXX.cpp12242 while (CommonAncestor && !CommonAncestor->Encloses(CurContext)) in ActOnUsingDirective()
H A DSemaExpr.cpp20446 !LSI->CallOperator->Encloses(Var->getDeclContext()))) { in DoMarkPotentialCapture()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h2206 bool Encloses(const DeclContext *DC) const;