/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | ConvertMemberFunctionsToStatic.cpp | 40 AST_MATCHER(CXXMethodDecl, isDependentContext) { in AST_MATCHER() argument 41 return Node.isDependentContext(); in AST_MATCHER() 83 isDependentContext(), in registerMatchers()
|
D | MakeMemberFunctionConstCheck.cpp | 34 AST_MATCHER(CXXMethodDecl, isDependentContext) { in AST_MATCHER() argument 35 return Node.isDependentContext(); in AST_MATCHER() 221 cxxDestructorDecl(), isTemplate(), isDependentContext(), in registerMatchers()
|
/external/clang/lib/AST/ |
D | TemplateBase.cpp | 117 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()
|
D | DeclBase.cpp | 922 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()
|
D | TemplateName.cpp | 143 Template->getDeclContext()->isDependentContext(); in isDependent()
|
D | CXXInheritance.cpp | 128 assert(isDependentContext()); in isCurrentInstantiation() 155 (Base->isDependentContext() && in forallBases()
|
/external/clang/lib/Sema/ |
D | SemaCXXScopeSpec.cpp | 37 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()
|
D | SemaOpenMP.cpp | 4175 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 …]
|
D | SemaAccess.cpp | 85 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()
|
D | SemaLambda.cpp | 124 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()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaCXXScopeSpec.cpp | 35 if (!Record->isDependentContext() || in getCurrentInstantiationOf() 208 if (!tag || tag->isDependentContext()) in RequireCompleteDeclContext() 413 if (!LookupCtx->isDependentContext() && in isNonTypeNestedNameSpecifier() 523 if (!LookupCtx->isDependentContext() && in BuildCXXNestedNameSpecifier() 799 if (DC->isDependentContext() && DC->isFunctionOrMethod()) { in BuildCXXNestedNameSpecifier() 1079 if (!DC->isDependentContext() && RequireCompleteDeclContext(SS, DC)) in ActOnCXXEnterDeclaratorScope() 1085 if (DC->isDependentContext()) in ActOnCXXEnterDeclaratorScope()
|
D | SemaAccess.cpp | 85 Dependent(DC->isDependentContext()) { in EffectiveContext() 285 bool CheckDependent = Derived->isDependentContext(); in IsDerivedFromInclusive() 293 if (Derived->isDependentContext() && !Derived->hasDefinition() && in IsDerivedFromInclusive() 334 assert(!Friend->isDependentContext() && in MightInstantiateTo() 337 if (!Context->isDependentContext()) in MightInstantiateTo() 610 CheckDependent(InstanceContext->isDependentContext() || in ProtectedFriendContext() 611 NamingClass->isDependentContext()), in ProtectedFriendContext() 1397 assert(DC->isDependentContext() && "delaying non-dependent access"); in DelayDependentAccess()
|
D | SemaOpenMP.cpp | 2713 if (!CurContext->isDependentContext()) in EndOpenMPDSABlock() 4271 if (!CurContext->isDependentContext() && in tryCaptureOpenMPLambdas() 4927 assert(!S.CurContext->isDependentContext() && in checkAllocateClauses() 5059 if (AStmt && !CurContext->isDependentContext() && Kind != OMPD_atomic && in ActOnOpenMPExecutableDirective() 5597 if (!CurContext->isDependentContext() && in ActOnOpenMPExecutableDirective() 6160 if (FD->isDependentContext() || ShouldDelayChecks(VariantRef, false) || in checkOpenMPDeclareVariantFunction() 6870 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetInit() 6964 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetCond() 6995 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetIncRHS() 7073 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetInc() [all …]
|
D | SemaLambda.cpp | 127 EnclosingDC->isDependentContext() && in getStackIndexOfNearestEnclosingCaptureReadyLambda() 133 if (!EnclosingDC->isDependentContext()) in getStackIndexOfNearestEnclosingCaptureReadyLambda() 319 inTemplateInstantiation() || CurContext->isDependentContext(); in getCurrentMangleNumberContext() 372 if (Class->isDependentContext() || TemplateParams) { in startLambdaDefinition() 1798 if (!CurContext->isDependentContext() && !IsImplicit && in BuildLambdaExpr() 1912 !Class->getDeclContext()->isDependentContext()) { in BuildLambdaExpr() 1923 if (!CurContext->isDependentContext()) { in BuildLambdaExpr()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclBase.cpp | 259 return AsDC->isDependentContext(); in isTemplated() 261 return DC->isDependentContext() || isTemplateDecl() || in isTemplated() 369 if (!LDC->isDependentContext()) in isInLocalScopeForInstantiation() 1141 bool DeclContext::isDependentContext() const { in isDependentContext() function in DeclContext 1163 return getLexicalParent()->isDependentContext(); in isDependentContext() 1170 return getParent() && getParent()->isDependentContext(); in isDependentContext() 1985 bool Dependent = isDependentContext(); in CreateStoredDeclsMap() 2021 assert(Parent->isDependentContext() in Create()
|
D | ComputeDependence.cpp | 209 if (E->getBlockDecl()->isDependentContext()) in computeDependence() 481 Var->getDeclContext()->isDependentContext()) { in computeDependence() 494 if (isa<CXXMethodDecl>(Decl) && Decl->getDeclContext()->isDependentContext()) in computeDependence() 548 if (RD && RD->isDependentContext() && RD->isCurrentInstantiation(DC)) { in computeDependence() 670 if (D->getDeclContext()->isDependentContext() || in computeDependence()
|
D | CXXInheritance.cpp | 118 assert(isDependentContext()); in isCurrentInstantiation() 140 (Base->isDependentContext() && in forallBases()
|
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | DefinitionsInHeadersCheck.cpp | 138 if (VD->getDeclContext()->isDependentContext() && VD->isStaticDataMember()) in check()
|
/external/llvm-project/clang/lib/Frontend/ |
D | InterfaceStubFunctionsConsumer.cpp | 75 if (MD->isDependentContext() || !MD->hasBody()) in WriteNamedDecl() 124 if (FD->isDependentContext()) in WriteNamedDecl()
|
/external/clang/include/clang/AST/ |
D | DependentDiagnostic.h | 175 assert(isDependentContext() in ddiags()
|
/external/llvm-project/clang/include/clang/AST/ |
D | DependentDiagnostic.h | 176 assert(isDependentContext() in ddiags()
|
/external/clang/lib/Analysis/ |
D | CallGraph.cpp | 119 if (FD->isDependentContext()) in includeInGraph()
|
/external/clang/lib/Index/ |
D | CodegenNameGenerator.cpp | 41 if (FD->isDependentContext()) in writeName()
|
/external/llvm-project/clang/lib/Analysis/ |
D | CallGraph.cpp | 167 if (FD->isDependentContext()) in includeCalleeInGraph()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
D | AnalysisConsumer.cpp | 303 !FD->isDependentContext()) { in VisitFunctionDecl() 323 if (!BD->isDependentContext()) { in VisitBlockDecl()
|