Home
last modified time | relevance | path

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

12

/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DSemaCXXScopeSpec.cpp35 if (!Record->isDependentContext() || in getCurrentInstantiationOf()
208 if (!tag || tag->isDependentContext()) in RequireCompleteDeclContext()
427 if (!LookupCtx->isDependentContext() && in isNonTypeNestedNameSpecifier()
537 if (!LookupCtx->isDependentContext() && in BuildCXXNestedNameSpecifier()
813 if (DC->isDependentContext() && DC->isFunctionOrMethod()) { in BuildCXXNestedNameSpecifier()
1093 if (!DC->isDependentContext() && RequireCompleteDeclContext(SS, DC)) in ActOnCXXEnterDeclaratorScope()
1099 if (DC->isDependentContext()) in ActOnCXXEnterDeclaratorScope()
DSemaAccess.cpp85 Dependent(DC->isDependentContext()) { in EffectiveContext()
299 bool CheckDependent = Derived->isDependentContext(); in IsDerivedFromInclusive()
307 if (Derived->isDependentContext() && !Derived->hasDefinition() && in IsDerivedFromInclusive()
348 assert(!Friend->isDependentContext() && in MightInstantiateTo()
351 if (!Context->isDependentContext()) in MightInstantiateTo()
624 CheckDependent(InstanceContext->isDependentContext() || in ProtectedFriendContext()
625 NamingClass->isDependentContext()), in ProtectedFriendContext()
1412 assert(DC->isDependentContext() && "delaying non-dependent access"); in DelayDependentAccess()
DSemaOpenMP.cpp2729 if (!CurContext->isDependentContext()) in EndOpenMPDSABlock()
4394 if (!CurContext->isDependentContext() && in tryCaptureOpenMPLambdas()
5072 assert(!S.CurContext->isDependentContext() && in checkAllocateClauses()
5732 if (AStmt && !CurContext->isDependentContext() && Kind != OMPD_atomic && in ActOnOpenMPExecutableDirective()
6325 if (!CurContext->isDependentContext() && in ActOnOpenMPExecutableDirective()
6910 if (FD->isDependentContext() || ShouldDelayChecks(VariantRef, false) || in checkOpenMPDeclareVariantFunction()
7629 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetInit()
7713 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetCond()
7744 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetIncRHS()
7822 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetInc()
[all …]
DSemaLambda.cpp127 EnclosingDC->isDependentContext() && in getStackIndexOfNearestEnclosingCaptureReadyLambda()
133 if (!EnclosingDC->isDependentContext()) in getStackIndexOfNearestEnclosingCaptureReadyLambda()
319 inTemplateInstantiation() || CurContext->isDependentContext(); in getCurrentMangleNumberContext()
372 if (Class->isDependentContext() || TemplateParams) { in startLambdaDefinition()
1805 if (!CurContext->isDependentContext() && !IsImplicit && in BuildLambdaExpr()
1919 !Class->getDeclContext()->isDependentContext()) { in BuildLambdaExpr()
1930 if (!CurContext->isDependentContext()) { in BuildLambdaExpr()
DSemaTemplate.cpp1765 if (SemanticContext->isDependentContext()) { in CheckClassTemplate()
1883 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) && in CheckClassTemplate()
1943 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) && in CheckClassTemplate()
1950 SemanticContext->isDependentContext()) in CheckClassTemplate()
1973 = !(TUK == TUK_Friend && CurContext->isDependentContext()); in CheckClassTemplate()
2052 if (!CurContext->isDependentContext()) { in CheckClassTemplate()
2104 if (OrigDecl->getDeclContext()->isDependentContext()) { in TransformTypedefType()
2473 if (DC->isDependentContext()) in DeclareImplicitDeductionGuides()
4176 if (Partial->getDeclContext()->isDependentContext()) in checkMoreSpecializedThanPrimary()
4509 if (Template->getDeclContext()->isDependentContext() || in CheckVarTemplateId()
[all …]
DSemaDeclCXX.cpp567 !New->getLexicalDeclContext()->isDependentContext()) { in MergeCXXFunctionDecl()
604 } else if (New->getDeclContext()->isDependentContext()) { in MergeCXXFunctionDecl()
2255 } else if (!Constructor->isDependentContext() && in CheckConstexprFunctionBody()
3522 !FD->getParent()->isDependentContext() && in ActOnCXXMemberDeclarator()
3884 if (RD->isDependentContext()) in DiagnoseUninitializedFields()
4452 if (CurContext->isDependentContext()) in BuildDelegatingInitializer()
4582 if (CurContext->isDependentContext()) in BuildBaseInitializer()
5055 if (Constructor->isDependentContext()) { in SetCtorInitializers()
5270 if (Constructor->getDeclContext()->isDependentContext()) in DiagnoseBaseOrMemInitializerOrder()
5535 if (ClassDecl->isDependentContext() || ClassDecl->isUnion()) in MarkBaseAndMemberDestructorsReferenced()
[all …]
DSemaDecl.cpp334 if (!LookupCtx->isDependentContext() && in getTypeName()
555 for (; DC && DC->isDependentContext(); DC = DC->getLookupParent()) { in findRecordWithDependentBasesOfEnclosingMethod()
1696 if (D->getDeclContext()->isDependentContext() || in ShouldWarnIfUnusedFileScopedDecl()
1697 D->getLexicalDeclContext()->isDependentContext()) in ShouldWarnIfUnusedFileScopedDecl()
4395 New->getDeclContext()->isDependentContext())) { in checkVarDeclRedefinition()
5817 bool IsDependentContext = DC->isDependentContext(); in HandleDeclarator()
6783 if (DC->isDependentContext()) in adjustContextForLocalExternDecl()
7509 DC->isDependentContext()) in ActOnVariableDeclarator()
9129 if (DC->isDependentContext()) { in ActOnFunctionDeclarator()
9227 (NewFD->isDependentContext() || in ActOnFunctionDeclarator()
[all …]
DSemaTemplateInstantiateDecl.cpp53 !OldDecl->getLexicalDeclContext()->isDependentContext()) && in SubstQualifier()
591 if (!T->isDependentType() && !RD->isDependentContext() && in isRelevantAttr()
1607 assert(!(isFriend && Owner->isDependentContext())); in VisitClassTemplateDecl()
5217 (!OldVar->getPreviousDecl()->getDeclContext()->isDependentContext() || in BuildVariableInstantiation()
5951 if (!DC->isDependentContext()) in isDependentContextAtLevel()
6081 if (!Record->isDependentContext()) in FindInstantiatedDecl()
6185 if (!Spec->isDependentContext()) { in FindInstantiatedDecl()
DSemaStmt.cpp598 if (CurContext->isDependentContext() || (E && E->isInstantiationDependent())) in checkAndRewriteMustTailAttr()
620 assert(!CurContext->isDependentContext() && in checkMustTailAttr()
3585 if (!CurContext->isDependentContext()) in ActOnCapScopeReturnStmt()
3756 if (FD->isDependentContext()) { in DeduceFunctionTypeFromReturnExpr()
3822 if (!FD->isDependentContext() && OldDeducedType != NewDeducedType) { in DeduceFunctionTypeFromReturnExpr()
DSemaLookup.cpp973 if (!Class->getDefinition() || Class->isDependentContext()) in CanDeclareSpecialMemberFunction()
2160 LookupCtx->isDependentContext() || in LookupQualifiedName()
2218 if (!InUnqualifiedLookup && LookupRec->isDependentContext() && in LookupQualifiedName()
2464 if (!DC->isDependentContext() && RequireCompleteDeclContext(*SS, DC)) in LookupParsedName()
4853 if (getLangOpts().MSVCCompat && CurContext->isDependentContext() && in makeTypoCorrectionConsumer()
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
DDeclBase.cpp259 return AsDC->isDependentContext(); in isTemplated()
261 return DC->isDependentContext() || isTemplateDecl() || in isTemplated()
369 if (!LDC->isDependentContext()) in isInLocalScopeForInstantiation()
1142 bool DeclContext::isDependentContext() const { in isDependentContext() function in DeclContext
1164 return getLexicalParent()->isDependentContext(); in isDependentContext()
1171 return getParent() && getParent()->isDependentContext(); in isDependentContext()
1940 bool Dependent = isDependentContext(); in CreateStoredDeclsMap()
1976 assert(Parent->isDependentContext() in Create()
DComputeDependence.cpp239 if (E->getBlockDecl()->isDependentContext()) in computeDependence()
514 Var->getDeclContext()->isDependentContext() && in computeDependence()
536 if (MD->isStatic() && Decl->getDeclContext()->isDependentContext()) in computeDependence()
596 if (RD && RD->isDependentContext() && RD->isCurrentInstantiation(DC)) { in computeDependence()
718 if (D->getDeclContext()->isDependentContext() || in computeDependence()
DCXXInheritance.cpp118 assert(isDependentContext()); in isCurrentInstantiation()
140 (Base->isDependentContext() && in forallBases()
DTemplateName.cpp203 Template->getDeclContext()->isDependentContext()) in getDependence()
DDeclarationName.cpp229 if (TD && TD->getDeclContext()->isDependentContext()) in isDependentName()
DTemplateBase.cpp212 if (DC->isDependentContext()) in getDependence()
DMangle.cpp402 if (FD->isDependentContext()) in writeName()
DDeclCXX.cpp566 if (!isDependentContext()) in hasAnyDependentBases()
2007 isDependentContext()) in mayBeAbstract()
2408 assert(!MD->getParent()->isDependentContext() && in addOverriddenMethod()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Frontend/
DInterfaceStubFunctionsConsumer.cpp75 if (MD->isDependentContext() || !MD->hasBody()) in WriteNamedDecl()
124 if (FD->isDependentContext()) in WriteNamedDecl()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
DDependentDiagnostic.h176 assert(isDependentContext() in ddiags()
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp323 !FD->isDependentContext()) { in VisitFunctionDecl()
343 if (!BD->isDependentContext()) { in VisitBlockDecl()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/
DCallGraph.cpp167 if (FD->isDependentContext()) in includeCalleeInGraph()
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DModuleBuilder.cpp207 if (!D->getLexicalDeclContext()->isDependentContext()) in HandleInlineFunctionDefinition()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Serialization/
DASTCommon.cpp453 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) { in needsAnonymousDeclarationNumber()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Index/
DIndexDecl.cpp712 if (isa<ClassTemplateDecl>(ND) && D->getDeclContext()->isDependentContext()) in VisitFriendDecl()

12