Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp37 if (!Record->isDependentContext() || in getCurrentInstantiationOf()
210 if (!tag || tag->isDependentContext()) in RequireCompleteDeclContext()
414 if (!LookupCtx->isDependentContext() && in isNonTypeNestedNameSpecifier()
521 if (!LookupCtx->isDependentContext() && in BuildCXXNestedNameSpecifier()
795 if (DC->isDependentContext() && DC->isFunctionOrMethod()) { in BuildCXXNestedNameSpecifier()
1067 if (!DC->isDependentContext() && RequireCompleteDeclContext(SS, DC)) in ActOnCXXEnterDeclaratorScope()
1073 if (DC->isDependentContext()) in ActOnCXXEnterDeclaratorScope()
DSemaOpenMP.cpp4175 if (Dependent() || SemaRef.CurContext->isDependentContext()) in CheckInit()
4258 if (Dependent() || SemaRef.CurContext->isDependentContext()) in CheckCond()
4289 if (Dependent() || SemaRef.CurContext->isDependentContext()) in CheckIncRHS()
4365 if (Dependent() || SemaRef.CurContext->isDependentContext()) in CheckInc()
4375 if (SemaRef.CurContext->isDependentContext()) in tryBuildCapture()
4731 if (ISC.Dependent() || SemaRef.CurContext->isDependentContext() || HasErrors) in CheckOpenMPIterationSpace()
4980 if (SemaRef.CurContext->isDependentContext()) in CheckOpenMPLoop()
5470 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPSimdDirective()
5473 if (!CurContext->isDependentContext()) { in ActOnOpenMPSimdDirective()
5524 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPForDirective()
[all …]
DSemaAccess.cpp85 Dependent(DC->isDependentContext()) { in EffectiveContext()
286 bool CheckDependent = Derived->isDependentContext(); in IsDerivedFromInclusive()
294 if (Derived->isDependentContext() && !Derived->hasDefinition() && in IsDerivedFromInclusive()
335 assert(!Friend->isDependentContext() && in MightInstantiateTo()
338 if (!Context->isDependentContext()) in MightInstantiateTo()
611 CheckDependent(InstanceContext->isDependentContext() || in ProtectedFriendContext()
612 NamingClass->isDependentContext()), in ProtectedFriendContext()
1398 assert(DC->isDependentContext() && "delaying non-dependent access"); in DelayDependentAccess()
DSemaLambda.cpp124 EnclosingDC->isDependentContext() && in getStackIndexOfNearestEnclosingCaptureReadyLambda()
130 if (!EnclosingDC->isDependentContext()) in getStackIndexOfNearestEnclosingCaptureReadyLambda()
312 !ActiveTemplateInstantiations.empty() || CurContext->isDependentContext(); in getCurrentMangleNumberContext()
366 if (Class->isDependentContext() || TemplateParams) { in startLambdaDefinition()
1607 !Class->getDeclContext()->isDependentContext()) { in BuildLambdaExpr()
1614 if (!CurContext->isDependentContext()) { in BuildLambdaExpr()
DSemaExprMember.cpp1011 if (!EnclosingFunctionCtx->isDependentContext()) { in BuildMemberReferenceExpr()
1017 } else if (CurContext->isDependentContext()) { in BuildMemberReferenceExpr()
1824 !S.CurContext->isDependentContext() && in BuildFieldReferenceExpr()
DSemaTemplateInstantiateDecl.cpp46 !OldDecl->getLexicalDeclContext()->isDependentContext()) && in SubstQualifier()
3825 (!OldVar->getPreviousDecl()->getDeclContext()->isDependentContext() || in BuildVariableInstantiation()
4636 if (isa<ParmVarDecl>(D) && !ParentDC->isDependentContext() && in FindInstantiatedDecl()
4641 (ParentDC->isFunctionOrMethod() && ParentDC->isDependentContext()) || in FindInstantiatedDecl()
4718 if (!Record->isDependentContext()) in FindInstantiatedDecl()
4769 if (!ParentDC->isDependentContext()) in FindInstantiatedDecl()
4785 if (!Spec->isDependentContext()) { in FindInstantiatedDecl()
DSemaDecl.cpp293 if (!LookupCtx->isDependentContext() && in getTypeName()
488 for (; DC && DC->isDependentContext(); DC = DC->getLookupParent()) { in findRecordWithDependentBasesOfEnclosingMethod()
1427 if (D->getDeclContext()->isDependentContext() || in ShouldWarnIfUnusedFileScopedDecl()
1428 D->getLexicalDeclContext()->isDependentContext()) in ShouldWarnIfUnusedFileScopedDecl()
3669 New->getDeclContext()->isDependentContext())) { in MergeVarDecl()
4960 bool IsDependentContext = DC->isDependentContext(); in HandleDeclarator()
5823 if (DC->isDependentContext()) in adjustContextForLocalExternDecl()
6447 DC->isDependentContext()) in ActOnVariableDeclarator()
7771 if (DC->isDependentContext()) { in ActOnFunctionDeclarator()
7864 (NewFD->isDependentContext() || in ActOnFunctionDeclarator()
[all …]
DSemaTemplate.cpp903 if (SemanticContext->isDependentContext()) { in CheckClassTemplate()
1021 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) && in CheckClassTemplate()
1081 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) && in CheckClassTemplate()
1087 SemanticContext->isDependentContext()) in CheckClassTemplate()
1177 if (!CurContext->isDependentContext()) { in CheckClassTemplate()
2986 DC->isDependentContext() || in BuildQualifiedTemplateIdExpr()
3062 if (TNK == TNK_Non_template && LookupCtx->isDependentContext() && in ActOnDependentTemplateName()
3509 !Template->getDeclContext()->isDependentContext()) { in CheckTemplateArgument()
6452 if (CurContext->isDependentContext()) { in ActOnClassTemplateSpecialization()
DSemaDeclCXX.cpp586 } else if (New->getDeclContext()->isDependentContext()) { in MergeCXXFunctionDecl()
1182 } else if (!Constructor->isDependentContext() && in CheckConstexprFunctionBody()
2263 !FD->getParent()->isDependentContext() && in ActOnCXXMemberDeclarator()
3184 if (CurContext->isDependentContext()) in BuildDelegatingInitializer()
3313 if (CurContext->isDependentContext()) in BuildBaseInitializer()
3851 if (Constructor->isDependentContext()) { in SetCtorInitializers()
4052 if (Constructor->getDeclContext()->isDependentContext()) in DiagnoseBaseOrMemInitializerOrder()
4278 if (ClassDecl->isDependentContext() || ClassDecl->isUnion()) in MarkBaseAndMemberDestructorsReferenced()
8667 if (!NamedContext->isDependentContext() && in CheckUsingDeclQualifier()
10623 assert(!Class->isDependentContext() && "should not define dependent move"); in checkMoveAssignmentForRepeatedMove()
[all …]
DSemaLookup.cpp719 if (!Class->getDefinition() || Class->isDependentContext()) in CanDeclareSpecialMemberFunction()
1987 LookupCtx->isDependentContext() || in LookupQualifiedName()
2038 if (!InUnqualifiedLookup && LookupRec->isDependentContext() && in LookupQualifiedName()
2240 if (!DC->isDependentContext() && RequireCompleteDeclContext(*SS, DC)) in LookupParsedName()
4480 if (getLangOpts().MSVCCompat && CurContext->isDependentContext() && in makeTypoCorrectionConsumer()
DSemaStmt.cpp2909 if (!CurContext->isDependentContext()) in ActOnCapScopeReturnStmt()
3078 if (FD->isDependentContext()) { in DeduceFunctionTypeFromReturnExpr()
3136 if (!FD->isDependentContext() && OldDeducedType != NewDeducedType) { in DeduceFunctionTypeFromReturnExpr()
/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()
DDeclBase.cpp922 bool DeclContext::isDependentContext() const { in isDependentContext() function in DeclContext
944 return getLexicalParent()->isDependentContext(); in isDependentContext()
951 return getParent() && getParent()->isDependentContext(); in isDependentContext()
1705 bool Dependent = isDependentContext(); in CreateStoredDeclsMap()
1741 assert(Parent->isDependentContext() in Create()
DTemplateName.cpp143 Template->getDeclContext()->isDependentContext(); in isDependent()
DCXXInheritance.cpp128 assert(isDependentContext()); in isCurrentInstantiation()
155 (Base->isDependentContext() && in forallBases()
DDeclCXX.cpp407 if (!isDependentContext()) in hasAnyDependentBases()
1449 isDependentContext()) in mayBeAbstract()
1632 assert(!MD->getParent()->isDependentContext() && in addOverriddenMethod()
/external/clang/include/clang/AST/
DDependentDiagnostic.h175 assert(isDependentContext() in ddiags()
DDeclBase.h1301 bool isDependentContext() const;
/external/clang/lib/Analysis/
DCallGraph.cpp119 if (FD->isDependentContext()) in includeInGraph()
/external/clang/lib/Index/
DCodegenNameGenerator.cpp41 if (FD->isDependentContext()) in writeName()
DIndexDecl.cpp397 if (isa<ClassTemplateDecl>(ND) && D->getDeclContext()->isDependentContext()) in VisitFriendDecl()
/external/clang/lib/CodeGen/
DModuleBuilder.cpp175 && !D->getLexicalDeclContext()->isDependentContext()) in HandleInlineFunctionDefinition()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp352 !FD->isDependentContext()) { in VisitFunctionDecl()
372 if (!BD->isDependentContext()) { in VisitBlockDecl()
/external/clang/lib/Serialization/
DASTCommon.cpp331 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) { in needsAnonymousDeclarationNumber()
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp118 ((Actions.CurContext->isDependentContext() || in ParseCXXInlineMethodDef()

12