| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAccess.cpp | 81 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 D | SemaCXXScopeSpec.cpp | 197 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 D | SemaOpenMP.cpp | 2984 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 D | SemaLambda.cpp | 134 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 D | SemaTemplateDeductionGuide.cpp | 143 bool InDependentContext = OrigDecl->getDeclContext()->isDependentContext(); in TransformTypedefType() 1386 if (DC->isDependentContext()) in DeclareAggregateDeductionGuideFromInitList() 1432 if (DC->isDependentContext()) in DeclareImplicitDeductionGuides()
|
| H A D | SemaDeclCXX.cpp | 572 !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 D | AnalysisBasedWarnings.cpp | 2757 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 D | SemaTemplate.cpp | 1871 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 D | SemaDecl.cpp | 376 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 D | SemaStmt.cpp | 674 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 D | SemaLookup.cpp | 1015 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 D | SemaTemplateInstantiateDecl.cpp | 59 !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 D | CXXInheritance.cpp | 116 assert(isDependentContext()); in isCurrentInstantiation() 138 (Base->isDependentContext() && in forallBases() 175 isCurrentInstantiation = BaseRecord->isDependentContext() && in lookupInBases()
|
| H A D | DeclBase.cpp | 295 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 D | ComputeDependence.cpp | 258 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 D | DeclarationName.cpp | 221 if (TD && TD->getDeclContext()->isDependentContext()) in isDependentName()
|
| H A D | TemplateName.cpp | 359 Template->getDeclContext()->isDependentContext()) in getDependence()
|
| H A D | TemplateBase.cpp | 284 if (DC->isDependentContext()) in getDependence()
|
| H A D | Mangle.cpp | 428 if (FD->isDependentContext()) in writeName()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InterfaceStubFunctionsConsumer.cpp | 76 if (MD->isDependentContext() || !MD->hasBody()) in WriteNamedDecl() 125 if (FD->isDependentContext()) in WriteNamedDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CallGraph.cpp | 169 if (FD->isDependentContext()) in includeCalleeInGraph()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | AnalysisConsumer.cpp | 307 !FD->isDependentContext()) { in VisitFunctionDecl() 327 if (!BD->isDependentContext()) { in VisitBlockDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ModuleBuilder.cpp | 227 if (!D->getLexicalDeclContext()->isDependentContext()) in HandleInlineFunctionDefinition()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTCommon.cpp | 482 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) { in needsAnonymousDeclarationNumber()
|
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexDecl.cpp | 756 if (isa<ClassTemplateDecl>(ND) && D->getDeclContext()->isDependentContext()) in VisitFriendDecl()
|