/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | AddUsing.cpp | 75 if (D->getDeclContext()->Encloses(SelectionDeclContext)) { in VisitUsingDecl() 85 if (Node->getDeclContext()->Encloses(SelectionDeclContext)) { in TraverseDecl()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | AST.cpp | 112 if (CurContext->Encloses(DestContext)) in getQualification()
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 981 bool DeclContext::Encloses(const DeclContext *DC) const { in Encloses() function in DeclContext 983 return getPrimaryContext()->Encloses(DC); in Encloses()
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 1191 !CurBSI->TheDecl->Encloses(CurContext)) { in getCurBlock() 1206 !CurLSI->Lambda->Encloses(CurContext)) { in getCurLambda()
|
D | SemaTemplate.cpp | 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()
|
D | SemaExprMember.cpp | 220 !RepClass->Equals(ContextClass) && RepClass->Encloses(ContextClass)) in diagnoseInstanceReference()
|
D | SemaLookup.cpp | 184 while (!Common->Encloses(EffectiveDC)) in addUsingDirective() 1009 Lexical->Encloses(Semantic)) in findOuterContext()
|
D | SemaDecl.cpp | 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()
|
D | SemaCodeComplete.cpp | 455 CommonAncestor && !CommonAncestor->Encloses(CurContext); in getRequiredQualification()
|
D | SemaOpenMP.cpp | 1236 !getCurLexicalContext()->Encloses(CanonicalVD->getDeclContext()))) { in ActOnOpenMPIdExpression()
|
D | SemaDeclCXX.cpp | 7765 while (CommonAncestor && !CommonAncestor->Encloses(CurContext)) in ActOnUsingDirective()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclBase.cpp | 1211 bool DeclContext::Encloses(const DeclContext *DC) const { in Encloses() function in DeclContext 1213 return getPrimaryContext()->Encloses(DC); in Encloses()
|
/external/llvm-project/clang/lib/Sema/ |
D | Sema.cpp | 2036 !CurBSI->TheDecl->Encloses(CurContext)) { in getCurBlock() 2060 if (LSI->Lambda && !LSI->Lambda->Encloses(CurContext)) { in getEnclosingLambda() 2087 !CurLSI->Lambda->Encloses(CurContext)) { in getCurLambda()
|
D | SemaExprMember.cpp | 220 !RepClass->Equals(ContextClass) && RepClass->Encloses(ContextClass)) in diagnoseInstanceReference()
|
D | SemaDecl.cpp | 1513 } else if (IDC->Encloses(CurContext)) in PushOnScopeChains() 5628 if (!Cur->Encloses(DC) && !IsTemplateId) { in diagnoseQualifiedDeclaration() 7598 if (RD->isLambda() && OldDC->Encloses(NewDC->getLexicalParent())) { in CheckShadow() 15333 (OldDC->Encloses(NewDC) || NewDC->Encloses(OldDC))) in isAcceptableTagRedeclContext() 15617 !EnclosingNS->Encloses(ND->getDeclContext())) { in ActOnTag()
|
D | SemaTemplate.cpp | 1814 OutermostContext->Encloses(PrevDecl->getDeclContext()))) { in CheckClassTemplate() 8069 if (!(DC->isFileContext() ? DC->Encloses(SpecializedContext) in CheckTemplateSpecializationScope() 9423 if (CurContext->Encloses(OrigContext)) in CheckExplicitInstantiationScope()
|
D | SemaLookup.cpp | 184 while (!Common->Encloses(EffectiveDC)) in addUsingDirective()
|
D | SemaCodeComplete.cpp | 683 CommonAncestor && !CommonAncestor->Encloses(CurContext); in getRequiredQualification()
|
D | SemaOpenMP.cpp | 2859 !getCurLexicalContext()->Encloses(CanonicalVD->getDeclContext()))) { in ActOnOpenMPIdExpression() 4291 if (!VDC->Encloses(CurContext)) in tryCaptureOpenMPLambdas()
|
D | SemaOverload.cpp | 12772 if (Std && Std->Encloses(*it)) in DiagnoseTwoPhaseLookup()
|
D | SemaDeclCXX.cpp | 11439 while (CommonAncestor && !CommonAncestor->Encloses(CurContext)) in ActOnUsingDirective()
|
D | SemaExpr.cpp | 18233 !LSI->CallOperator->Encloses(Var->getDeclContext()))) { in DoMarkVarDeclReferenced()
|
/external/clang/include/clang/AST/ |
D | DeclBase.h | 1336 bool Encloses(const DeclContext *DC) const;
|
/external/llvm-project/clang/include/clang/AST/ |
D | DeclBase.h | 1945 bool Encloses(const DeclContext *DC) const;
|