Home
last modified time | relevance | path

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

1234

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DConvertMemberFunctionsToStatic.cpp40 AST_MATCHER(CXXMethodDecl, isDependentContext) { in AST_MATCHER() argument
41 return Node.isDependentContext(); in AST_MATCHER()
83 isDependentContext(), in registerMatchers()
DMakeMemberFunctionConstCheck.cpp34 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/
DTemplateBase.cpp117 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()
DDeclBase.cpp922 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()
DTemplateName.cpp143 Template->getDeclContext()->isDependentContext(); in isDependent()
DCXXInheritance.cpp128 assert(isDependentContext()); in isCurrentInstantiation()
155 (Base->isDependentContext() && in forallBases()
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp37 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()
DSemaOpenMP.cpp4175 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 …]
DSemaAccess.cpp85 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()
DSemaLambda.cpp124 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/
DSemaCXXScopeSpec.cpp35 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()
DSemaAccess.cpp85 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()
DSemaOpenMP.cpp2713 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 …]
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()
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/
DDeclBase.cpp259 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()
DComputeDependence.cpp209 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()
DCXXInheritance.cpp118 assert(isDependentContext()); in isCurrentInstantiation()
140 (Base->isDependentContext() && in forallBases()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DDefinitionsInHeadersCheck.cpp138 if (VD->getDeclContext()->isDependentContext() && VD->isStaticDataMember()) in check()
/external/llvm-project/clang/lib/Frontend/
DInterfaceStubFunctionsConsumer.cpp75 if (MD->isDependentContext() || !MD->hasBody()) in WriteNamedDecl()
124 if (FD->isDependentContext()) in WriteNamedDecl()
/external/clang/include/clang/AST/
DDependentDiagnostic.h175 assert(isDependentContext() in ddiags()
/external/llvm-project/clang/include/clang/AST/
DDependentDiagnostic.h176 assert(isDependentContext() in ddiags()
/external/clang/lib/Analysis/
DCallGraph.cpp119 if (FD->isDependentContext()) in includeInGraph()
/external/clang/lib/Index/
DCodegenNameGenerator.cpp41 if (FD->isDependentContext()) in writeName()
/external/llvm-project/clang/lib/Analysis/
DCallGraph.cpp167 if (FD->isDependentContext()) in includeCalleeInGraph()
/external/llvm-project/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp303 !FD->isDependentContext()) { in VisitFunctionDecl()
323 if (!BD->isDependentContext()) { in VisitBlockDecl()

1234