Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp1433 bool DeclContext::Encloses(const DeclContext *DC) const { in Encloses() function in DeclContext
1435 return getPrimaryContext()->Encloses(DC); in Encloses()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp2518 !CurBSI->TheDecl->Encloses(CurContext)) { in getCurBlock()
2543 if (LSI && LSI->Lambda && !LSI->Lambda->Encloses(CurContext) && in getEnclosingLambdaOrBlock()
2571 !CurLSI->Lambda->Encloses(CurContext) && CurLSI->AfterParameterList) { in getCurLambda()
H A DSemaExprMember.cpp262 RepClass->Encloses(ContextClass)) in diagnoseInstanceReference()
H A DSemaDecl.cpp1563 } else if (IDC->Encloses(CurContext)) in PushOnScopeChains()
6223 if (!Cur->Encloses(DC) && !(TemplateId || IsMemberSpecialization)) { in diagnoseQualifiedDeclaration()
8407 if (RD->isLambda() && OldDC->Encloses(NewDC->getLexicalParent())) { in CheckShadow()
17461 (OldDC->Encloses(NewDC) || NewDC->Encloses(OldDC))) in isAcceptableTagRedeclContext()
17795 !EnclosingNS->Encloses(ND->getDeclContext())) { in ActOnTag()
H A DSemaTemplate.cpp1966 OutermostContext->Encloses(PrevDecl->getDeclContext()))) { in CheckClassTemplate()
8340 if (!(DC->isFileContext() ? DC->Encloses(SpecializedContext) in CheckTemplateSpecializationScope()
9832 if (CurContext->Encloses(OrigContext)) in CheckExplicitInstantiationScope()
H A DSemaLookup.cpp188 while (!Common->Encloses(EffectiveDC)) in addUsingDirective()
H A DSemaExprCXX.cpp1449 if (LSI->Lambda && !LSI->Lambda->Encloses(CurContext) && in MarkThisReferenced()
H A DSemaExpr.cpp19920 !LSI->CallOperator->Encloses(Var->getDeclContext()))) { in DoMarkPotentialCapture()
20162 if (LSI->Lambda && !LSI->Lambda->Encloses(SemaRef.CurContext) && in FixDependencyOfIdExpressionsInLambdaWithDependentObjectParameter()
H A DSemaCodeComplete.cpp741 CommonAncestor && !CommonAncestor->Encloses(CurContext); in getRequiredQualification()
H A DSemaOpenMP.cpp3156 !SemaRef.getCurLexicalContext()->Encloses( in ActOnOpenMPIdExpression()
4546 if (!VDC->Encloses(SemaRef.CurContext)) in tryCaptureOpenMPLambdas()
H A DSemaOverload.cpp14395 if (Std && Std->Encloses(*it)) in DiagnoseTwoPhaseLookup()
H A DSemaDeclCXX.cpp12484 while (CommonAncestor && !CommonAncestor->Encloses(CurContext)) in ActOnUsingDirective()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h2248 bool Encloses(const DeclContext *DC) const;
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc9800 {"_ZNK5clang11DeclContext8EnclosesEPKS0_", "clang::DeclContext::Encloses(clang::DeclContext const*)…