Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp81 Dependent(DC->isDependentContext()) { in EffectiveContext()
305 bool CheckDependent = Derived->isDependentContext(); in IsDerivedFromInclusive()
313 if (Derived->isDependentContext() && !Derived->hasDefinition() && in IsDerivedFromInclusive()
354 assert(!Friend->isDependentContext() && in MightInstantiateTo()
357 if (!Context->isDependentContext()) in MightInstantiateTo()
630 CheckDependent(InstanceContext->isDependentContext() || in ProtectedFriendContext()
631 NamingClass->isDependentContext()), in ProtectedFriendContext()
1419 assert(DC->isDependentContext() && "delaying non-dependent access"); in DelayDependentAccess()
H A DSemaCXXScopeSpec.cpp197 if (!tag || tag->isDependentContext()) in RequireCompleteDeclContext()
443 if (!LookupCtx->isDependentContext() && in BuildCXXNestedNameSpecifier()
722 if (DC->isDependentContext() && DC->isFunctionOrMethod()) { in BuildCXXNestedNameSpecifier()
1020 if (!DC->isDependentContext() && RequireCompleteDeclContext(SS, DC)) in ActOnCXXEnterDeclaratorScope()
1026 if (DC->isDependentContext()) in ActOnCXXEnterDeclaratorScope()
H A DSemaOpenMP.cpp2984 if (!SemaRef.CurContext->isDependentContext()) in EndOpenMPDSABlock()
3001 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) && in finishLinearClauses()
3004 if (SemaRef.CurContext->isDependentContext()) in finishLinearClauses()
4526 if (!SemaRef.CurContext->isDependentContext() && in tryCaptureOpenMPLambdas()
5244 assert(!S.CurContext->isDependentContext() && in checkAllocateClauses()
6059 if (AStmt && !SemaRef.CurContext->isDependentContext() && in ActOnOpenMPExecutableDirective()
6684 if (!SemaRef.CurContext->isDependentContext() && in ActOnOpenMPExecutableDirective()
7312 if (FD->isDependentContext() || ShouldDelayChecks(VariantRef, false) || in checkOpenMPDeclareVariantFunction()
8213 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetInit()
8308 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetCond()
[all …]
H A DSemaLambda.cpp134 EnclosingDC->isDependentContext() && in getStackIndexOfNearestEnclosingCaptureReadyLambda()
140 if (!EnclosingDC->isDependentContext()) in getStackIndexOfNearestEnclosingCaptureReadyLambda()
295 inTemplateInstantiation() || CurContext->isDependentContext(); in getCurrentMangleNumberContext()
394 if (Class->isDependentContext() || TemplateParams) { in buildTypeForLambdaCallOperator()
2194 if (!CurContext->isDependentContext() && !IsImplicit && in BuildLambdaExpr()
2298 !Class->isDependentContext()) { in BuildLambdaExpr()
2309 if (!CurContext->isDependentContext()) { in BuildLambdaExpr()
H A DSemaTemplateDeductionGuide.cpp143 bool InDependentContext = OrigDecl->getDeclContext()->isDependentContext(); in TransformTypedefType()
1386 if (DC->isDependentContext()) in DeclareAggregateDeductionGuideFromInitList()
1432 if (DC->isDependentContext()) in DeclareImplicitDeductionGuides()
H A DSemaDeclCXX.cpp572 !New->getLexicalDeclContext()->isDependentContext()) { in MergeCXXFunctionDecl()
609 } else if (New->getDeclContext()->isDependentContext()) { in MergeCXXFunctionDecl()
2436 } else if (!Constructor->isDependentContext() && in CheckConstexprFunctionBody()
2827 if (!Class->isDependentContext()) in CheckBaseSpecifier()
3424 !FD->getParent()->isDependentContext() && in IsUnusedPrivateField()
4074 if (RD->isDependentContext()) in DiagnoseUninitializedFields()
4702 if (CurContext->isDependentContext()) in BuildDelegatingInitializer()
4731 bool Dependent = CurContext->isDependentContext() && in BuildBaseInitializer()
4840 if (CurContext->isDependentContext()) in BuildBaseInitializer()
5355 if (ClassDecl->isDependentContext()) in MarkBaseDestructorsReferenced()
[all …]
H A DAnalysisBasedWarnings.cpp2757 if (cast<DeclContext>(Node)->isDependentContext()) in VisitFunctionDecl()
2768 if (cast<DeclContext>(Node)->isDependentContext()) in VisitBlockDecl()
2775 if (cast<DeclContext>(Node)->isDependentContext()) in VisitObjCMethodDecl()
2862 if (cast<DeclContext>(D)->isDependentContext()) in IssueWarnings()
H A DSemaTemplate.cpp1871 if (SemanticContext->isDependentContext()) { in CheckClassTemplate()
2013 if (!(TUK == TagUseKind::Friend && CurContext->isDependentContext()) && in CheckClassTemplate()
2076 if (!(TUK == TagUseKind::Friend && CurContext->isDependentContext()) && in CheckClassTemplate()
2082 SemanticContext->isDependentContext()) in CheckClassTemplate()
2107 !(TUK == TagUseKind::Friend && CurContext->isDependentContext()); in CheckClassTemplate()
2190 if (!CurContext->isDependentContext()) { in CheckClassTemplate()
4116 if (Partial->getDeclContext()->isDependentContext()) in checkMoreSpecializedThanPrimary()
4476 if (Template->getDeclContext()->isDependentContext() || in CheckVarTemplateId()
5392 !Template->getDeclContext()->isDependentContext()) { in CheckTemplateArgument()
8476 if (PrimaryTemplate->getDeclContext()->isDependentContext()) in CheckTemplatePartialSpecializationArgs()
[all …]
H A DSemaDecl.cpp376 if (!LookupCtx->isDependentContext() && in getTypeName()
599 for (; DC && DC->isDependentContext(); DC = DC->getLookupParent()) { in findRecordWithDependentBasesOfEnclosingMethod()
1853 if (D->getDeclContext()->isDependentContext() || in ShouldWarnIfUnusedFileScopedDecl()
1854 D->getLexicalDeclContext()->isDependentContext()) in ShouldWarnIfUnusedFileScopedDecl()
4864 New->getDeclContext()->isDependentContext() || in checkVarDeclRedefinition()
6356 bool IsDependentContext = DC->isDependentContext(); in HandleDeclarator()
7365 if (DC->isDependentContext()) in adjustContextForLocalExternDecl()
7667 if (DC->isDependentContext()) { in ActOnVariableDeclarator()
8206 DC->isDependentContext()) in ActOnVariableDeclarator()
10029 if (DC->isDependentContext()) { in ActOnFunctionDeclarator()
[all …]
H A DSemaStmt.cpp674 if (CurContext->isDependentContext() || (E && E->isInstantiationDependent())) in checkAndRewriteMustTailAttr()
696 assert(!CurContext->isDependentContext() && in checkMustTailAttr()
3582 if (!CurContext->isDependentContext()) in ActOnCapScopeReturnStmt()
3754 if (FD->isDependentContext()) { in DeduceFunctionTypeFromReturnExpr()
4427 !CurContext->isDependentContext()) in DiagnoseExceptionUse()
H A DSemaLookup.cpp1015 if (!Class->getDefinition() || Class->isDependentContext()) in CanDeclareSpecialMemberFunction()
2439 LookupCtx->isDependentContext() || in LookupQualifiedName()
2518 if (!InUnqualifiedLookup && LookupRec->isDependentContext() && in LookupQualifiedName()
2740 if (!DC->isDependentContext() && RequireCompleteDeclContext(*SS, DC)) in LookupParsedName()
5222 if (getLangOpts().MSVCCompat && CurContext->isDependentContext() && in makeTypoCorrectionConsumer()
H A DSemaTemplateInstantiateDecl.cpp59 !OldDecl->getLexicalDeclContext()->isDependentContext()) && in SubstQualifier()
701 if (!T->isDependentType() && !RD->isDependentContext() && in isRelevantAttr()
2267 assert(!Owner->isDependentContext()); in VisitClassTemplateDecl()
6023 (!OldVar->getPreviousDecl()->getDeclContext()->isDependentContext() || in BuildVariableInstantiation()
6753 if (!DC->isDependentContext()) in isDependentContextAtLevel()
6864 if (!Record->isDependentContext()) in FindInstantiatedDecl()
6988 if (!Spec->isDependentContext()) { in FindInstantiatedDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCXXInheritance.cpp116 assert(isDependentContext()); in isCurrentInstantiation()
138 (Base->isDependentContext() && in forallBases()
175 isCurrentInstantiation = BaseRecord->isDependentContext() && in lookupInBases()
H A DDeclBase.cpp295 return AsDC->isDependentContext(); in isTemplated()
298 return DC->isDependentContext() || isTemplateDecl() || in isTemplated()
406 if (!LDC->isDependentContext()) in isInLocalScopeForInstantiation()
1363 bool DeclContext::isDependentContext() const { in isDependentContext() function in DeclContext
1387 return getLexicalParent()->isDependentContext(); in isDependentContext()
1394 return getParent() && getParent()->isDependentContext(); in isDependentContext()
2207 bool Dependent = isDependentContext(); in CreateStoredDeclsMap()
2244 assert(Parent->isDependentContext() in Create()
H A DComputeDependence.cpp258 if (E->getBlockDecl()->isDependentContext()) in computeDependence()
588 Var->getDeclContext()->isDependentContext() && in computeDependence()
610 if (MD->isStatic() && Decl->getDeclContext()->isDependentContext()) in computeDependence()
689 if (RD && RD->isDependentContext() && RD->isCurrentInstantiation(DC)) { in computeDependence()
808 if (D->getDeclContext()->isDependentContext() || in computeDependence()
H A DDeclarationName.cpp221 if (TD && TD->getDeclContext()->isDependentContext()) in isDependentName()
H A DTemplateName.cpp359 Template->getDeclContext()->isDependentContext()) in getDependence()
H A DTemplateBase.cpp284 if (DC->isDependentContext()) in getDependence()
H A DMangle.cpp428 if (FD->isDependentContext()) in writeName()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp76 if (MD->isDependentContext() || !MD->hasBody()) in WriteNamedDecl()
125 if (FD->isDependentContext()) in WriteNamedDecl()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCallGraph.cpp169 if (FD->isDependentContext()) in includeCalleeInGraph()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp307 !FD->isDependentContext()) { in VisitFunctionDecl()
327 if (!BD->isDependentContext()) { in VisitBlockDecl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DModuleBuilder.cpp227 if (!D->getLexicalDeclContext()->isDependentContext()) in HandleInlineFunctionDefinition()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.cpp482 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) { in needsAnonymousDeclarationNumber()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp756 if (isa<ClassTemplateDecl>(ND) && D->getDeclContext()->isDependentContext()) in VisitFriendDecl()

12