/external/clang/lib/AST/ |
D | TemplateBase.cpp | 117 return DC->isDependentContext(); in isDependent() 118 return getAsDecl()->getDeclContext()->isDependentContext(); in isDependent() 157 return DC->isDependentContext(); in isInstantiationDependent() 158 return getAsDecl()->getDeclContext()->isDependentContext(); in isInstantiationDependent()
|
D | TemplateName.cpp | 93 Template->getDeclContext()->isDependentContext(); in isDependent()
|
D | DeclBase.cpp | 879 bool DeclContext::isDependentContext() const { in isDependentContext() function in DeclContext 901 return getLexicalParent()->isDependentContext(); in isDependentContext() 908 return getParent() && getParent()->isDependentContext(); in isDependentContext() 1658 bool Dependent = isDependentContext(); in CreateStoredDeclsMap() 1694 assert(Parent->isDependentContext() in Create()
|
D | CXXInheritance.cpp | 128 assert(isDependentContext()); in isCurrentInstantiation() 155 (Base->isDependentContext() && in forallBases()
|
D | DeclCXX.cpp | 389 if (!isDependentContext()) in hasAnyDependentBases() 1381 isDependentContext()) in mayBeAbstract() 1564 assert(!MD->getParent()->isDependentContext() && in addOverriddenMethod()
|
D | ExprCXX.cpp | 349 if ((*I)->getDeclContext()->isDependentContext() || in OverloadExpr()
|
D | Expr.cpp | 286 Var->getDeclContext()->isDependentContext()) { in computeDeclRefDependence() 300 if (isa<CXXMethodDecl>(D) && D->getDeclContext()->isDependentContext()) { in computeDeclRefDependence()
|
/external/clang/lib/Sema/ |
D | SemaCXXScopeSpec.cpp | 37 if (!Record->isDependentContext() || in getCurrentInstantiationOf() 198 if (!tag || tag->isDependentContext()) in RequireCompleteDeclContext() 387 if (!LookupCtx->isDependentContext() && in isNonTypeNestedNameSpecifier() 497 if (!LookupCtx->isDependentContext() && in BuildCXXNestedNameSpecifier() 765 if (DC->isDependentContext() && DC->isFunctionOrMethod()) { in BuildCXXNestedNameSpecifier() 1037 if (!DC->isDependentContext() && RequireCompleteDeclContext(SS, DC)) in ActOnCXXEnterDeclaratorScope() 1043 if (DC->isDependentContext()) in ActOnCXXEnterDeclaratorScope()
|
D | SemaAccess.cpp | 85 Dependent(DC->isDependentContext()) { in EffectiveContext() 286 bool CheckDependent = Derived->isDependentContext(); in IsDerivedFromInclusive() 294 if (Derived->isDependentContext() && !Derived->hasDefinition()) in IsDerivedFromInclusive() 334 assert(!Friend->isDependentContext() && in MightInstantiateTo() 337 if (!Context->isDependentContext()) in MightInstantiateTo() 616 CheckDependent(InstanceContext->isDependentContext() || in ProtectedFriendContext() 617 NamingClass->isDependentContext()), in ProtectedFriendContext() 1403 assert(DC->isDependentContext() && "delaying non-dependent access"); in DelayDependentAccess()
|
D | SemaLambda.cpp | 124 EnclosingDC->isDependentContext() && in getStackIndexOfNearestEnclosingCaptureReadyLambda() 130 if (!EnclosingDC->isDependentContext()) in getStackIndexOfNearestEnclosingCaptureReadyLambda() 311 !ActiveTemplateInstantiations.empty() || CurContext->isDependentContext(); in getCurrentMangleNumberContext() 364 if (Class->isDependentContext() || TemplateParams) { in startLambdaDefinition() 1598 if (!CurContext->isDependentContext()) { in BuildLambdaExpr()
|
D | SemaOpenMP.cpp | 3505 if (ISC.Dependent() || SemaRef.CurContext->isDependentContext() || HasErrors) in CheckOpenMPIterationSpace() 3688 if (SemaRef.CurContext->isDependentContext()) in CheckOpenMPLoop() 4097 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPSimdDirective() 4100 if (!CurContext->isDependentContext()) { in ActOnOpenMPSimdDirective() 4150 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPForDirective() 4153 if (!CurContext->isDependentContext()) { in ActOnOpenMPForDirective() 4186 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPForSimdDirective() 4189 if (!CurContext->isDependentContext()) { in ActOnOpenMPForSimdDirective() 4402 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPParallelForDirective() 4405 if (!CurContext->isDependentContext()) { in ActOnOpenMPParallelForDirective() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 46 !OldDecl->getLexicalDeclContext()->isDependentContext()) && in SubstQualifier() 1749 !Inh->getParent()->isDependentContext() && in VisitCXXMethodDecl() 3651 (!OldVar->getPreviousDecl()->getDeclContext()->isDependentContext() || in BuildVariableInstantiation() 4426 if (isa<ParmVarDecl>(D) && !ParentDC->isDependentContext() && in FindInstantiatedDecl() 4431 (ParentDC->isFunctionOrMethod() && ParentDC->isDependentContext()) || in FindInstantiatedDecl() 4508 if (!Record->isDependentContext()) in FindInstantiatedDecl() 4559 if (!ParentDC->isDependentContext()) in FindInstantiatedDecl() 4575 if (!Spec->isDependentContext()) { in FindInstantiatedDecl()
|
D | SemaDeclCXX.cpp | 586 } else if (New->getDeclContext()->isDependentContext()) { in MergeCXXFunctionDecl() 1182 } else if (!Constructor->isDependentContext() && in CheckConstexprFunctionBody() 2260 !FD->getParent()->isDependentContext() && in ActOnCXXMemberDeclarator() 3181 if (CurContext->isDependentContext()) in BuildDelegatingInitializer() 3310 if (CurContext->isDependentContext()) in BuildBaseInitializer() 3875 if (Constructor->isDependentContext()) { in SetCtorInitializers() 4076 if (Constructor->getDeclContext()->isDependentContext()) in DiagnoseBaseOrMemInitializerOrder() 4302 if (ClassDecl->isDependentContext() || ClassDecl->isUnion()) in MarkBaseAndMemberDestructorsReferenced() 8426 if (!NamedContext->isDependentContext() && in CheckUsingDeclQualifier() 9266 if (ClassDecl->isDependentContext()) in DeclareInheritingConstructors() [all …]
|
D | SemaDecl.cpp | 285 if (!LookupCtx->isDependentContext() && in getTypeName() 1387 if (D->getDeclContext()->isDependentContext() || in ShouldWarnIfUnusedFileScopedDecl() 1388 D->getLexicalDeclContext()->isDependentContext()) in ShouldWarnIfUnusedFileScopedDecl() 3565 New->getDeclContext()->isDependentContext())) { in MergeVarDecl() 4827 bool IsDependentContext = DC->isDependentContext(); in HandleDeclarator() 5673 if (DC->isDependentContext()) in adjustContextForLocalExternDecl() 6228 DC->isDependentContext()) in ActOnVariableDeclarator() 7492 if (DC->isDependentContext()) { in ActOnFunctionDeclarator() 7586 (NewFD->isDependentContext() || in ActOnFunctionDeclarator() 7587 (isFriend && CurContext->isDependentContext())) && in ActOnFunctionDeclarator() [all …]
|
D | SemaTemplate.cpp | 888 if (SemanticContext->isDependentContext()) { in CheckClassTemplate() 999 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) && in CheckClassTemplate() 1064 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) && in CheckClassTemplate() 1070 SemanticContext->isDependentContext()) in CheckClassTemplate() 1160 if (!CurContext->isDependentContext()) { in CheckClassTemplate() 2943 DC->isDependentContext() || in BuildQualifiedTemplateIdExpr() 3019 if (TNK == TNK_Non_template && LookupCtx->isDependentContext() && in ActOnDependentTemplateName() 3470 !Template->getDeclContext()->isDependentContext()) { in CheckTemplateArgument() 6413 if (CurContext->isDependentContext()) { in ActOnClassTemplateSpecialization()
|
D | SemaLookup.cpp | 704 if (!Class->getDefinition() || Class->isDependentContext()) in CanDeclareSpecialMemberFunction() 1901 LookupCtx->isDependentContext() || in LookupQualifiedName() 1952 if (!InUnqualifiedLookup && LookupRec->isDependentContext() && in LookupQualifiedName() 2150 if (!DC->isDependentContext() && RequireCompleteDeclContext(*SS, DC)) in LookupParsedName() 4398 if (getLangOpts().MSVCCompat && CurContext->isDependentContext() && in makeTypoCorrectionConsumer()
|
D | SemaExprMember.cpp | 971 if (!EnclosingFunctionCtx->isDependentContext()) { in BuildMemberReferenceExpr() 977 } else if (CurContext->isDependentContext()) { in BuildMemberReferenceExpr()
|
D | SemaStmt.cpp | 2854 if (!CurContext->isDependentContext()) in ActOnCapScopeReturnStmt() 3023 if (FD->isDependentContext()) { in DeduceFunctionTypeFromReturnExpr() 3075 if (!FD->isDependentContext() && OldDeducedType != NewDeducedType) { in DeduceFunctionTypeFromReturnExpr()
|
D | SemaExprCXX.cpp | 164 isDependent = LookupCtx && LookupCtx->isDependentContext(); in getDestructorName() 5434 if (RD->isInvalidDecl() || RD->isDependentContext()) in MaybeBindToTemporary() 6313 assert(S.CurContext->isDependentContext()); in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
|
/external/clang/include/clang/AST/ |
D | DependentDiagnostic.h | 175 assert(isDependentContext() in ddiags()
|
D | DeclBase.h | 1282 bool isDependentContext() const;
|
/external/clang/lib/Analysis/ |
D | CallGraph.cpp | 119 if (FD->isDependentContext()) in includeInGraph()
|
/external/clang/lib/Serialization/ |
D | ASTCommon.cpp | 354 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) { in needsAnonymousDeclarationNumber()
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | AnalysisConsumer.cpp | 353 !FD->isDependentContext()) { in VisitFunctionDecl() 373 if (!BD->isDependentContext()) { in VisitBlockDecl()
|
/external/clang/lib/Parse/ |
D | ParseCXXInlineMethods.cpp | 111 ((Actions.CurContext->isDependentContext() || in ParseCXXInlineMethodDef()
|