Home
last modified time | relevance | path

Searched refs:isDependentContext (Results 1 – 25 of 35) sorted by relevance

12

/external/clang/lib/AST/
DTemplateBase.cpp117 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()
DTemplateName.cpp93 Template->getDeclContext()->isDependentContext(); in isDependent()
DDeclBase.cpp879 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()
DCXXInheritance.cpp128 assert(isDependentContext()); in isCurrentInstantiation()
155 (Base->isDependentContext() && in forallBases()
DDeclCXX.cpp389 if (!isDependentContext()) in hasAnyDependentBases()
1381 isDependentContext()) in mayBeAbstract()
1564 assert(!MD->getParent()->isDependentContext() && in addOverriddenMethod()
DExprCXX.cpp349 if ((*I)->getDeclContext()->isDependentContext() || in OverloadExpr()
DExpr.cpp286 Var->getDeclContext()->isDependentContext()) { in computeDeclRefDependence()
300 if (isa<CXXMethodDecl>(D) && D->getDeclContext()->isDependentContext()) { in computeDeclRefDependence()
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp37 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()
DSemaAccess.cpp85 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()
DSemaLambda.cpp124 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()
DSemaOpenMP.cpp3505 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 …]
DSemaTemplateInstantiateDecl.cpp46 !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()
DSemaDeclCXX.cpp586 } 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 …]
DSemaDecl.cpp285 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 …]
DSemaTemplate.cpp888 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()
DSemaLookup.cpp704 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()
DSemaExprMember.cpp971 if (!EnclosingFunctionCtx->isDependentContext()) { in BuildMemberReferenceExpr()
977 } else if (CurContext->isDependentContext()) { in BuildMemberReferenceExpr()
DSemaStmt.cpp2854 if (!CurContext->isDependentContext()) in ActOnCapScopeReturnStmt()
3023 if (FD->isDependentContext()) { in DeduceFunctionTypeFromReturnExpr()
3075 if (!FD->isDependentContext() && OldDeducedType != NewDeducedType) { in DeduceFunctionTypeFromReturnExpr()
DSemaExprCXX.cpp164 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/
DDependentDiagnostic.h175 assert(isDependentContext() in ddiags()
DDeclBase.h1282 bool isDependentContext() const;
/external/clang/lib/Analysis/
DCallGraph.cpp119 if (FD->isDependentContext()) in includeInGraph()
/external/clang/lib/Serialization/
DASTCommon.cpp354 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) { in needsAnonymousDeclarationNumber()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp353 !FD->isDependentContext()) { in VisitFunctionDecl()
373 if (!BD->isDependentContext()) { in VisitBlockDecl()
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp111 ((Actions.CurContext->isDependentContext() || in ParseCXXInlineMethodDef()

12