Home
last modified time | relevance | path

Searched refs:isDependent (Results 1 – 21 of 21) sorted by relevance

/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp83 if (NNS->isDependent()) { in computeDeclContext()
163 return NNS->isDependent(); in isDependentScopeSpecifier()
185 assert(NNS->isDependent() && "Only dependent nested-name-specifier allowed"); in getCurrentInstantiationOf()
332 bool isDependent = false; in isNonTypeNestedNameSpecifier() local
338 isDependent = ObjectType->isDependentType(); in isNonTypeNestedNameSpecifier()
343 isDependent = isDependentScopeSpecifier(SS); in isNonTypeNestedNameSpecifier()
359 } else if (isDependent) { in isNonTypeNestedNameSpecifier()
419 bool isDependent = false; in BuildCXXNestedNameSpecifier() local
425 isDependent = ObjectType->isDependentType(); in BuildCXXNestedNameSpecifier()
430 isDependent = isDependentScopeSpecifier(SS); in BuildCXXNestedNameSpecifier()
[all …]
DSemaAccess.cpp125 bool isDependent() const { return Dependent; } in isDependent() function
411 if (EC.isDependent()) { in MatchesFriend()
472 if (!EC.isDependent()) in MatchesFriend()
505 if (EC.isDependent() && MightInstantiateTo(S, *I, Friend)) in MatchesFriend()
535 if (EC.isDependent() && MightInstantiateTo(S, FTD, Friend)) in MatchesFriend()
761 if (EC.isDependent() && MightInstantiateTo(ECRecord, NamingClass)) in HasAccess()
1406 assert(EC.isDependent() && "delaying non-dependent access"); in DelayDependentAccess()
DSemaTemplate.cpp252 bool isDependent = false; in LookupTemplateName() local
258 isDependent = ObjectType->isDependentType(); in LookupTemplateName()
259 assert((isDependent || !ObjectType->isIncompleteType()) && in LookupTemplateName()
271 isDependent = isDependentScopeSpecifier(SS); in LookupTemplateName()
300 } else if (isDependent && (!S || ObjectType.isNull())) { in LookupTemplateName()
313 if (Found.empty() && !isDependent) { in LookupTemplateName()
353 if (isDependent) in LookupTemplateName()
2022 } else if (Name.isDependent() || in CheckTemplateIdType()
4453 assert(Name.isDependent() && "Non-dependent template isn't a declaration?"); in CheckTemplateArgument()
5351 if (!Name.isDependent() && in ActOnClassTemplateSpecialization()
[all …]
DSemaExprCXX.cpp71 bool isDependent = false; in getDestructorName() local
107 isDependent = false; in getDestructorName()
119 isDependent = isDependentScopeSpecifier(PrefixSS); in getDestructorName()
122 isDependent = SearchType->isDependentType(); in getDestructorName()
125 isDependent = LookupCtx && LookupCtx->isDependentContext(); in getDestructorName()
138 isDependent = SearchType->isDependentType(); in getDestructorName()
139 assert((isDependent || !SearchType->isIncompleteType()) && in getDestructorName()
247 if (isDependent) { in getDestructorName()
DSemaCodeComplete.cpp4060 if (!Results.empty() && NNS->isDependent()) in CodeCompleteQualifiedId()
DTreeTransform.h856 if (QualifierLoc.getNestedNameSpecifier()->isDependent()) { in RebuildDependentNameType()
DSemaDeclCXX.cpp10849 } else if (!SS.getScopeRep()->isDependent()) { in ActOnFriendFunctionDecl()
DSemaDecl.cpp6404 D.getCXXScopeSpec().getScopeRep()->isDependent() || in ActOnFunctionDeclarator()
/external/clang/lib/AST/
DTemplateName.cpp84 bool TemplateName::isDependent() const { in isDependent() function in TemplateName
108 return isDependent(); in isInstantiationDependent()
DTemplateBase.cpp87 bool TemplateArgument::isDependent() const { in isDependent() function in TemplateArgument
96 return getAsTemplate().isDependent(); in isDependent()
118 if (P->isDependent()) in isDependent()
600 Dependent = Dependent || Info[i].getArgument().isDependent(); in initializeFrom()
DNestedNameSpecifier.cpp49 assert((!Prefix || Prefix->isDependent()) && "Prefix must be dependent"); in Create()
162 bool NestedNameSpecifier::isDependent() const { in isDependent() function in NestedNameSpecifier
DType.cpp1447 assert((!NNS || NNS->isDependent()) && in DependentTemplateSpecializationType()
1896 if (Args[i].getArgument().isDependent()) { in anyDependentTemplateArguments()
1911 if (Args[i].isDependent()) { in anyDependentTemplateArguments()
1928 Canon.isNull()? T.isDependent() : Canon->isDependentType(), in TemplateSpecializationType()
1929 Canon.isNull()? T.isDependent() in TemplateSpecializationType()
1943 T.isDependent() || in TemplateSpecializationType()
1959 if (Canon.isNull() && Args[Arg].isDependent()) in TemplateSpecializationType()
DASTContext.cpp3146 assert(NNS->isDependent() && "nested-name-specifier must be dependent"); in getDependentNameType()
3195 assert((!NNS || NNS->isDependent()) && in getDependentTemplateSpecializationType()
5990 assert((!NNS || NNS->isDependent()) && in getDependentTemplateName()
6026 assert((!NNS || NNS->isDependent()) && in getDependentTemplateName()
DItaniumMangle.cpp3089 if (!A.isInstantiationDependent() || A.isDependent()) in mangleTemplateArg()
DExpr.cpp1299 if (QualifierLoc && QualifierLoc.getNestedNameSpecifier()->isDependent()) { in Create()
/external/clang/include/clang/AST/
DNestedNameSpecifier.h185 bool isDependent() const;
DTemplateName.h291 bool isDependent() const;
DTemplateBase.h212 bool isDependent() const;
DType.h3969 assert(NNS->isDependent() &&
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp577 if (TemplateType->getTemplateName().isDependent()) in classIsDerivedFrom()
/external/clang/lib/Parse/
DParseTentative.cpp1140 if (SS.getScopeRep() && SS.getScopeRep()->isDependent()) { in isCXXDeclarationSpecifier()