|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/include/clang/AST/DeclBase.h 1871 bool isDependentContext() const;
References
tools/clang/include/clang/AST/Decl.h 3296 bool isDependentType() const { return isDependentContext(); }
tools/clang/include/clang/AST/DependentDiagnostic.h 176 assert(isDependentContext()
tools/clang/include/clang/AST/Expr.h 5558 ty->isInstantiationDependentType() || BD->isDependentContext(),
tools/clang/lib/AST/ASTContext.cpp 9973 return !D->getDeclContext()->isDependentContext();
9975 return !D->getDeclContext()->isDependentContext();
9977 return !D->getDeclContext()->isDependentContext();
10015 if (D->getDeclContext()->isDependentContext())
tools/clang/lib/AST/CXXInheritance.cpp 141 assert(isDependentContext());
168 (Base->isDependentContext() &&
tools/clang/lib/AST/DeclBase.cpp 249 return AsDC->isDependentContext();
251 return DC->isDependentContext() || isTemplateDecl() || getDescribedTemplate();
1111 return getLexicalParent()->isDependentContext();
1118 return getParent() && getParent()->isDependentContext();
1925 bool Dependent = isDependentContext();
1961 assert(Parent->isDependentContext()
tools/clang/lib/AST/DeclCXX.cpp 543 if (!isDependentContext())
1908 isDependentContext())
2262 assert(!MD->getParent()->isDependentContext() &&
tools/clang/lib/AST/DeclarationName.cpp 216 if (TD && TD->getDeclContext()->isDependentContext())
tools/clang/lib/AST/Expr.cpp 441 Var->getDeclContext()->isDependentContext()) {
455 if (isa<CXXMethodDecl>(D) && D->getDeclContext()->isDependentContext()) {
tools/clang/lib/AST/ExprCXX.cpp 475 if ((*I)->getDeclContext()->isDependentContext() ||
tools/clang/lib/AST/ExprConstant.cpp14373 if (FD->isDependentContext())
tools/clang/lib/AST/Mangle.cpp 307 if (FD->isDependentContext())
tools/clang/lib/AST/TemplateBase.cpp 131 return DC->isDependentContext();
132 return getAsDecl()->getDeclContext()->isDependentContext();
171 return DC->isDependentContext();
172 return getAsDecl()->getDeclContext()->isDependentContext();
tools/clang/lib/AST/TemplateName.cpp 180 Template->getDeclContext()->isDependentContext();
tools/clang/lib/Analysis/CallGraph.cpp 163 if (FD->isDependentContext())
tools/clang/lib/CodeGen/ModuleBuilder.cpp 207 if (!D->getLexicalDeclContext()->isDependentContext())
tools/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp 69 if (MD->isDependentContext() || !MD->hasBody())
118 if (FD->isDependentContext())
tools/clang/lib/Index/IndexDecl.cpp 706 if (isa<ClassTemplateDecl>(ND) && D->getDeclContext()->isDependentContext())
tools/clang/lib/Parse/ParseCXXInlineMethods.cpp 115 ((Actions.CurContext->isDependentContext() ||
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp 2039 if (cast<DeclContext>(D)->isDependentContext())
tools/clang/lib/Sema/SemaAccess.cpp 85 Dependent(DC->isDependentContext()) {
285 bool CheckDependent = Derived->isDependentContext();
293 if (Derived->isDependentContext() && !Derived->hasDefinition() &&
334 assert(!Friend->isDependentContext() &&
337 if (!Context->isDependentContext())
610 CheckDependent(InstanceContext->isDependentContext() ||
611 NamingClass->isDependentContext()),
1397 assert(DC->isDependentContext() && "delaying non-dependent access");
tools/clang/lib/Sema/SemaCXXScopeSpec.cpp 35 if (!Record->isDependentContext() ||
208 if (!tag || tag->isDependentContext())
413 if (!LookupCtx->isDependentContext() &&
523 if (!LookupCtx->isDependentContext() &&
799 if (DC->isDependentContext() && DC->isFunctionOrMethod()) {
1079 if (!DC->isDependentContext() && RequireCompleteDeclContext(SS, DC))
1085 if (DC->isDependentContext())
tools/clang/lib/Sema/SemaChecking.cpp 4309 if (CurContext->isDependentContext())
13085 !ClassDecl->isDependentContext() &&
tools/clang/lib/Sema/SemaCodeComplete.cpp 2066 if (SemaRef.CurContext->isDependentContext()) {
4684 IsDependent = Ctx->isDependentContext();
tools/clang/lib/Sema/SemaDecl.cpp 331 if (!LookupCtx->isDependentContext() &&
546 for (; DC && DC->isDependentContext(); DC = DC->getLookupParent()) {
1643 if (D->getDeclContext()->isDependentContext() ||
1644 D->getLexicalDeclContext()->isDependentContext())
4260 New->getDeclContext()->isDependentContext())) {
5559 bool IsDependentContext = DC->isDependentContext();
6453 if (DC->isDependentContext())
7101 DC->isDependentContext())
8675 if (DC->isDependentContext()) {
8767 (NewFD->isDependentContext() ||
8768 (isFriend && CurContext->isDependentContext())) &&
9189 (NewFD->getType()->isDependentType() || DC->isDependentContext() ||
9199 if (CurContext->isDependentContext() && CurContext->isRecord()
9283 DC->isDependentContext())
9314 (!Previous.empty() && CurContext->isDependentContext()))) {
9603 if (!NewD->getLexicalDeclContext()->isDependentContext())
9635 if (!D->getLexicalDeclContext()->isDependentContext())
13777 if (!FD->isInvalidDecl() && Body && !FD->isDependentContext() &&
13841 (!getLangOpts().CPlusPlus || !FD->isDependentContext()))
17661 if (FD->isDependentContext())
tools/clang/lib/Sema/SemaDeclCXX.cpp 556 !New->getLexicalDeclContext()->isDependentContext()) {
593 } else if (New->getDeclContext()->isDependentContext()) {
2197 } else if (!Constructor->isDependentContext() &&
3443 !FD->getParent()->isDependentContext() &&
4342 if (CurContext->isDependentContext())
4472 if (CurContext->isDependentContext())
4945 if (Constructor->isDependentContext()) {
5146 if (Constructor->getDeclContext()->isDependentContext())
5372 if (ClassDecl->isDependentContext() || ClassDecl->isUnion())
5834 if (!Class->isDependentContext()) {
10884 if (!NamedContext->isDependentContext() &&
11867 if (Destructor->isDependentContext())
12729 assert(!Class->isDependentContext() && "should not define dependent move");
13585 if (ClassDecl->isDependentContext()) return;
13827 if (MD && !MD->getParent()->isDependentContext() &&
15083 if (!CurContext->isDependentContext()) {
15227 (!FD->isDependentContext() ||
15255 if (FD->isDependentContext())
15471 if (Method->isVirtual() || Method->getParent()->isDependentContext()) {
15592 if (!Class->isDynamicClass() || Class->isDependentContext() ||
15593 CurContext->isDependentContext() || isUnevaluatedContext())
tools/clang/lib/Sema/SemaExpr.cpp 3218 if (cast<DeclContext>(currentDecl)->isDependentContext())
5568 if (!EnclosingFunctionCtx->isDependentContext()) {
5574 } else if (S.CurContext->isDependentContext()) {
14317 !BD->isDependentContext())
15381 if (SemaRef.CurContext->isDependentContext())
tools/clang/lib/Sema/SemaExprCXX.cpp 93 if (CurClass->isDependentContext() && !EnteringContext && SS.getScopeRep()) {
214 isDependent = LookupCtx && LookupCtx->isDependentContext();
6486 if (RD->isInvalidDecl() || RD->isDependentContext())
7459 assert(S.CurContext->isDependentContext());
tools/clang/lib/Sema/SemaExprMember.cpp 1815 !CurContext->isDependentContext() &&
tools/clang/lib/Sema/SemaLambda.cpp 127 EnclosingDC->isDependentContext() &&
133 if (!EnclosingDC->isDependentContext())
319 inTemplateInstantiation() || CurContext->isDependentContext();
371 if (Class->isDependentContext() || TemplateParams) {
1704 if (!CurContext->isDependentContext() && !IsImplicit &&
1814 !Class->getDeclContext()->isDependentContext()) {
1825 if (!CurContext->isDependentContext()) {
tools/clang/lib/Sema/SemaLookup.cpp 885 if (!Class->getDefinition() || Class->isDependentContext())
2202 LookupCtx->isDependentContext() ||
2253 if (!InUnqualifiedLookup && LookupRec->isDependentContext() &&
2475 if (!DC->isDependentContext() && RequireCompleteDeclContext(*SS, DC))
4810 if (getLangOpts().MSVCCompat && CurContext->isDependentContext() &&
tools/clang/lib/Sema/SemaOpenMP.cpp 2195 if (!CurContext->isDependentContext())
3597 if (!CurContext->isDependentContext() &&
4133 assert(!S.CurContext->isDependentContext() &&
4249 if (AStmt && !CurContext->isDependentContext()) {
4696 if (!CurContext->isDependentContext() &&
5015 VariantRef->isInstantiationDependent() || FD->isDependentContext())
5202 if (!Func->isDependentContext() && Func->hasAttrs()) {
5716 if (dependent() || SemaRef.CurContext->isDependentContext())
5810 if (dependent() || SemaRef.CurContext->isDependentContext())
5841 if (dependent() || SemaRef.CurContext->isDependentContext())
5919 if (dependent() || SemaRef.CurContext->isDependentContext())
5929 if (SemaRef.CurContext->isDependentContext())
6634 if (ISC.dependent() || SemaRef.CurContext->isDependentContext() || HasErrors)
6992 if (SemaRef.CurContext->isDependentContext())
7661 assert((CurContext->isDependentContext() || B.builtAll()) &&
7664 if (!CurContext->isDependentContext()) {
7700 assert((CurContext->isDependentContext() || B.builtAll()) &&
7703 if (!CurContext->isDependentContext()) {
7736 assert((CurContext->isDependentContext() || B.builtAll()) &&
7739 if (!CurContext->isDependentContext()) {
7938 assert((CurContext->isDependentContext() || B.builtAll()) &&
7941 if (!CurContext->isDependentContext()) {
7982 if (!CurContext->isDependentContext()) {
8320 if (SemaRef.CurContext->isDependentContext())
8393 if (SemaRef.CurContext->isDependentContext())
8541 if (CurContext->isDependentContext())
8603 if (CurContext->isDependentContext())
8621 if (!CurContext->isDependentContext()) {
8676 if (CurContext->isDependentContext())
8712 if (IsUpdateExprFound && !CurContext->isDependentContext()) {
8742 if (IsUpdateExprFound && !CurContext->isDependentContext()) {
8838 if (CurContext->isDependentContext())
8980 assert((CurContext->isDependentContext() || B.builtAll()) &&
8983 if (!CurContext->isDependentContext()) {
9266 assert((CurContext->isDependentContext() || B.builtAll()) &&
9302 assert((CurContext->isDependentContext() || B.builtAll()) &&
9305 if (!CurContext->isDependentContext()) {
9351 assert((CurContext->isDependentContext() || B.builtAll()) &&
9387 assert((CurContext->isDependentContext() || B.builtAll()) &&
9390 if (!CurContext->isDependentContext()) {
9455 assert((CurContext->isDependentContext() || B.builtAll()) &&
9491 assert((CurContext->isDependentContext() || B.builtAll()) &&
9534 assert((CurContext->isDependentContext() || B.builtAll()) &&
9578 assert((CurContext->isDependentContext() || B.builtAll()) &&
9581 if (!CurContext->isDependentContext()) {
9634 assert((CurContext->isDependentContext() || B.builtAll()) &&
9637 if (!CurContext->isDependentContext()) {
9690 assert((CurContext->isDependentContext() || B.builtAll()) &&
9693 if (!CurContext->isDependentContext()) {
9745 assert((CurContext->isDependentContext() || B.builtAll()) &&
9748 if (!CurContext->isDependentContext()) {
9801 assert((CurContext->isDependentContext() || B.builtAll()) &&
9849 assert((CurContext->isDependentContext() || B.builtAll()) &&
9852 if (!CurContext->isDependentContext()) {
9911 assert((CurContext->isDependentContext() || B.builtAll()) &&
9914 if (!CurContext->isDependentContext()) {
9973 assert((CurContext->isDependentContext() || B.builtAll()) &&
10051 assert((CurContext->isDependentContext() || B.builtAll()) &&
10094 assert((CurContext->isDependentContext() || B.builtAll()) &&
10097 if (!CurContext->isDependentContext()) {
10150 assert((CurContext->isDependentContext() || B.builtAll()) &&
10154 if (!CurContext->isDependentContext()) {
10208 assert((CurContext->isDependentContext() || B.builtAll()) &&
10211 if (!CurContext->isDependentContext()) {
10993 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) {
11024 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) {
11110 !SemaRef.CurContext->isDependentContext()) {
11136 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) {
11668 !CurContext->isDependentContext()) {
12132 if (!VD && !CurContext->isDependentContext())
12135 Vars.push_back((VD || CurContext->isDependentContext())
12424 if (!VD && !CurContext->isDependentContext()) {
12434 Vars.push_back((VD || CurContext->isDependentContext())
12569 if (!VD && !CurContext->isDependentContext()) {
12593 Vars.push_back((VD || CurContext->isDependentContext())
12647 if (!VD && isOpenMPCapturedDecl(D) && !CurContext->isDependentContext())
12650 Vars.push_back((VD || !Ref || CurContext->isDependentContext())
12835 if (SemaRef.CurContext->isDependentContext() || Ty->isDependentType() ||
13174 if (S.CurContext->isDependentContext() &&
13288 if (S.CurContext->isDependentContext() &&
13635 if (!VD && !S.CurContext->isDependentContext()) {
13850 if (!VD && !CurContext->isDependentContext()) {
13877 Vars.push_back((VD || CurContext->isDependentContext())
14380 if (CurContext->isDependentContext()) {
14430 if (!CurContext->isDependentContext() &&
14469 if (!CurContext->isDependentContext() && DepKind == OMPC_DEPEND_sink &&
14504 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) {
14523 if (FullCheck && !SemaRef.CurContext->isDependentContext() &&
15154 if (SemaRef.CurContext->isDependentContext() || Type->isDependentType() ||
15956 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) {
15983 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) {
16109 !CurContext->isDependentContext()) {
16598 if (!VD && !CurContext->isDependentContext())
16600 Vars.push_back((VD || CurContext->isDependentContext())
tools/clang/lib/Sema/SemaOverload.cpp12343 CurContext->isDependentContext() && !isSFINAEContext() &&
tools/clang/lib/Sema/SemaStmt.cpp 3290 if (!CurContext->isDependentContext())
3466 if (FD->isDependentContext()) {
3532 if (!FD->isDependentContext() && OldDeducedType != NewDeducedType) {
tools/clang/lib/Sema/SemaTemplate.cpp 1403 if (SemanticContext->isDependentContext()) {
1521 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) &&
1581 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) &&
1588 SemanticContext->isDependentContext())
1611 = !(TUK == TUK_Friend && CurContext->isDependentContext());
1690 if (!CurContext->isDependentContext()) {
2047 if (DC->isDependentContext())
3723 if (Partial->getDeclContext()->isDependentContext())
4337 DC->isDependentContext() ||
4916 !Template->getDeclContext()->isDependentContext()) {
7653 if (PrimaryTemplate->getDeclContext()->isDependentContext())
7918 if (CurContext->isDependentContext()) {
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp 48 !OldDecl->getLexicalDeclContext()->isDependentContext()) &&
1442 assert(!(isFriend && Owner->isDependentContext()));
4537 (!OldVar->getPreviousDecl()->getDeclContext()->isDependentContext() ||
5325 if (isa<ParmVarDecl>(D) && !ParentDC->isDependentContext() &&
5333 ParentDC->isDependentContext()) ||
5396 if (!Record->isDependentContext())
5484 if (!ParentDC->isDependentContext())
5500 if (!Spec->isDependentContext()) {
tools/clang/lib/Sema/SemaType.cpp 8071 if (RD->isDependentContext()) {
tools/clang/lib/Serialization/ASTCommon.cpp 425 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) {
tools/clang/lib/Serialization/ASTReader.cpp10021 if (RD->isDependentContext() && !RD->isThisDeclarationADefinition())
tools/clang/lib/Serialization/ASTWriterDecl.cpp 2400 if (Writer->WritingModule && !FD->isDependentContext()) {
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp 427 !FD->isDependentContext()) {
447 if (!BD->isDependentContext()) {
tools/clang/tools/extra/clang-tidy/misc/DefinitionsInHeadersCheck.cpp 138 if (VD->getDeclContext()->isDependentContext() && VD->isStaticDataMember())
tools/clang/tools/extra/clang-tidy/readability/ConvertMemberFunctionsToStatic.cpp 40 return Node.isDependentContext();