Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp216 if (!tag || tag->isDependentContext()) in RequireCompleteDeclContext()
360 if (!LookupCtx->isDependentContext() && in isNonTypeNestedNameSpecifier()
449 if (!LookupCtx->isDependentContext() && in BuildCXXNestedNameSpecifier()
673 if (DC->isDependentContext() && DC->isFunctionOrMethod()) { in BuildCXXNestedNameSpecifier()
936 if (!DC->isDependentContext() && RequireCompleteDeclContext(SS, DC)) in ActOnCXXEnterDeclaratorScope()
942 if (DC->isDependentContext()) in ActOnCXXEnterDeclaratorScope()
DSemaAccess.cpp85 Dependent(DC->isDependentContext()) { in EffectiveContext()
271 bool CheckDependent = Derived->isDependentContext(); in IsDerivedFromInclusive()
279 if (Derived->isDependentContext() && !Derived->hasDefinition()) in IsDerivedFromInclusive()
322 assert(!Friend->isDependentContext() && in MightInstantiateTo()
325 if (!Context->isDependentContext()) in MightInstantiateTo()
609 CheckDependent(InstanceContext->isDependentContext() || in ProtectedFriendContext()
610 NamingClass->isDependentContext()), in ProtectedFriendContext()
1355 assert(DC->isDependentContext() && "delaying non-dependent access"); in DelayDependentAccess()
DSemaLambda.cpp132 !ActiveTemplateInstantiations.empty() || CurContext->isDependentContext(); in startLambdaDefinition()
866 if (!CurContext->isDependentContext()) { in ActOnLambdaExpr()
DSemaDeclCXX.cpp495 } else if (New->getDeclContext()->isDependentContext()) { in MergeCXXFunctionDecl()
927 } else if (!Constructor->isDependentContext() && in CheckConstexprFunctionBody()
1672 !FD->getParent()->isDependentContext() && in ActOnCXXMemberDeclarator()
2249 if (CurContext->isDependentContext()) { in BuildMemberInitializer()
2320 if (CurContext->isDependentContext()) in BuildDelegatingInitializer()
2454 if (CurContext->isDependentContext()) in BuildBaseInitializer()
2946 if (Constructor->isDependentContext()) { in SetCtorInitializers()
3137 if (Constructor->getDeclContext()->isDependentContext()) in DiagnoseBaseOrMemInitializerOrder()
3371 if (ClassDecl->isDependentContext() || ClassDecl->isUnion()) in MarkBaseAndMemberDestructorsReferenced()
6320 if (!CurContext->isDependentContext()) in CheckInheritingConstructorUsingDecl()
[all …]
DSemaLookup.cpp534 if (!Class->getDefinition() || Class->isDependentContext()) in CanDeclareSpecialMemberFunction()
1413 LookupCtx->isDependentContext() || in LookupQualifiedName()
1453 if (!InUnqualifiedLookup && LookupRec->isDependentContext() && in LookupQualifiedName()
1617 if (!DC->isDependentContext() && RequireCompleteDeclContext(*SS, DC)) in LookupParsedName()
3717 if (getLangOpts().MicrosoftMode && CurContext->isDependentContext() && in CorrectTypo()
DSemaTemplate.cpp896 if (SemanticContext->isDependentContext()) { in CheckClassTemplate()
981 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) && in CheckClassTemplate()
1033 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) && in CheckClassTemplate()
1038 SemanticContext->isDependentContext()) in CheckClassTemplate()
1124 if (!CurContext->isDependentContext()) { in CheckClassTemplate()
2316 DC->isDependentContext() || in BuildQualifiedTemplateIdExpr()
2392 if (TNK == TNK_Non_template && LookupCtx->isDependentContext() && in ActOnDependentTemplateName()
2805 !Template->getDeclContext()->isDependentContext()) { in CheckTemplateArgument()
DSemaTemplateInstantiateDecl.cpp3388 (ParentDC->isFunctionOrMethod() && ParentDC->isDependentContext()) || in FindInstantiatedDecl()
3416 if (!Record->isDependentContext()) in FindInstantiatedDecl()
3468 if (!ParentDC->isDependentContext()) in FindInstantiatedDecl()
3484 if (!Spec->isDependentContext()) { in FindInstantiatedDecl()
DSemaDecl.cpp179 if (!LookupCtx->isDependentContext() && in getTypeName()
1183 if (D->getDeclContext()->isDependentContext() || in ShouldWarnIfUnusedFileScopedDecl()
1184 D->getLexicalDeclContext()->isDependentContext()) in ShouldWarnIfUnusedFileScopedDecl()
3627 bool IsDependentContext = DC->isDependentContext(); in HandleDeclarator()
5244 if (DC->isDependentContext()) { in ActOnFunctionDeclarator()
5628 (NewFD->getType()->isDependentType() || DC->isDependentContext() || in ActOnFunctionDeclarator()
5638 if (CurContext->isDependentContext() && CurContext->isRecord() in ActOnFunctionDeclarator()
5724 DC->isDependentContext()) in ActOnFunctionDeclarator()
5752 CurContext->isDependentContext())) { in ActOnFunctionDeclarator()
7060 if (!var->getDeclContext()->isDependentContext() && Init) { in CheckCompleteVariableDeclaration()
[all …]
DAnalysisBasedWarnings.cpp1202 if (cast<DeclContext>(D)->isDependentContext()) in IssueWarnings()
DSemaStmt.cpp2364 !CurContext->isDependentContext())) in ActOnCapScopeReturnStmt()
2524 !CurContext->isDependentContext()) in ActOnReturnStmt()
DSemaExpr.cpp1785 if (getLangOpts().MicrosoftMode && CurContext->isDependentContext() && in ActOnIdExpression()
1872 if (!(DC = computeDeclContext(SS, false)) || DC->isDependentContext()) in BuildQualifiedDeclarationNameExpr()
2518 if (cast<DeclContext>(currentDecl)->isDependentContext()) { in ActOnPredefinedExpr()
9485 !BSI->TheDecl->isDependentContext()) in ActOnBlockStmtExpr()
10172 if (SemaRef.CurContext->isDependentContext()) in IsPotentiallyEvaluatedContext()
DSemaExprCXX.cpp124 isDependent = LookupCtx && LookupCtx->isDependentContext(); in getDestructorName()
4722 if (RD->isInvalidDecl() || RD->isDependentContext()) in MaybeBindToTemporary()
/external/clang/lib/AST/
DTemplateBase.cpp104 return DC->isDependentContext(); in isDependent()
105 return D->getDeclContext()->isDependentContext(); in isDependent()
146 return DC->isDependentContext(); in isInstantiationDependent()
147 return D->getDeclContext()->isDependentContext(); in isInstantiationDependent()
DDeclBase.cpp744 bool DeclContext::isDependentContext() const { in isDependentContext() function in DeclContext
766 return getLexicalParent()->isDependentContext(); in isDependentContext()
769 return getParent() && getParent()->isDependentContext(); in isDependentContext()
1378 bool Dependent = isDependentContext(); in CreateStoredDeclsMap()
1414 assert(Parent->isDependentContext() in Create()
DTemplateName.cpp93 Template->getDeclContext()->isDependentContext(); in isDependent()
DDeclCXX.cpp304 if (!isDependentContext()) in hasAnyDependentBases()
1268 isDependentContext()) in mayBeAbstract()
1444 assert(!MD->getParent()->isDependentContext() && in addOverriddenMethod()
DExprCXX.cpp276 if ((*I)->getDeclContext()->isDependentContext() || in OverloadExpr()
DExpr.cpp227 Var->getDeclContext()->isDependentContext()) { in computeDeclRefDependence()
238 if (isa<CXXMethodDecl>(D) && D->getDeclContext()->isDependentContext()) { in computeDeclRefDependence()
/external/clang/lib/CodeGen/
DModuleBuilder.cpp82 if (Ctx->getLangOpts().CPlusPlus && !D->isDependentContext()) { in HandleTagDeclDefinition()
/external/clang/include/clang/AST/
DDependentDiagnostic.h177 assert(isDependentContext() in ddiag_begin()
DDeclBase.h1074 bool isDependentContext() const;
DDecl.h2595 bool isDependentType() const { return isDependentContext(); } in isDependentType()
/external/clang/lib/Analysis/
DCallGraph.cpp72 FD->isDependentContext()) in includeInGraph()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp301 !FD->isDependentContext()) { in VisitFunctionDecl()
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp113 ((Actions.CurContext->isDependentContext() || in ParseCXXInlineMethodDef()

12