Home
last modified time | relevance | path

Searched refs:getScopeRep (Results 1 – 15 of 15) sorted by relevance

/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp299 if (!SS.getScopeRep() || in DiagnoseUnexpandedParameterPack()
300 !SS.getScopeRep()->containsUnexpandedParameterPack()) in DiagnoseUnexpandedParameterPack()
305 .TraverseNestedNameSpecifier(SS.getScopeRep()); in DiagnoseUnexpandedParameterPack()
397 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in collectUnexpandedParameterPacks()
789 if (Chunk.Mem.Scope().getScopeRep() && in containsUnexpandedParameterPacks()
790 Chunk.Mem.Scope().getScopeRep()->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
DSemaCXXScopeSpec.cpp81 NestedNameSpecifier *NNS = SS.getScopeRep(); in computeDeclContext()
163 return SS.getScopeRep()->isDependent(); in isDependentScopeSpecifier()
879 assert(DTN->getQualifier() == SS.getScopeRep()); in ActOnCXXNestedNameSpecifier()
965 Annotation->NNS = SS.getScopeRep(); in SaveNestedNameSpecifierAnnotation()
986 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in ShouldEnterDeclaratorScope()
DSemaExprMember.cpp1288 << 1 << SS.getScopeRep() in LookupMemberExpr()
1443 << 0 << SS.getScopeRep() << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr()
1675 = (!SS.isSet() ? nullptr : FindFirstQualifierInScope(S, SS.getScopeRep())); in ActOnMemberAccessExpr()
1747 S.PerformObjectMemberConversion(BaseExpr, SS.getScopeRep(), in BuildFieldReferenceExpr()
DSemaTemplate.cpp198 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in isTemplateName()
238 NestedNameSpecifier *Qualifier = (NestedNameSpecifier*)SS->getScopeRep(); in DiagnoseUnknownTemplateName()
878 << SS.getScopeRep() << SS.getRange(); in CheckClassTemplate()
1595 NestedNameSpecifierLoc NNSLoc(SS.getScopeRep(), SS.location_data()); in getRangeOfTypeInNestedNameSpecifier()
1654 if (SS.getScopeRep()) { in MatchTemplateParametersToScopeSpecifier()
1659 T = QualType(SS.getScopeRep()->getAsType(), 0); in MatchTemplateParametersToScopeSpecifier()
2297 Result = Context.getElaboratedType(ETK_None, SS.getScopeRep(), Result); in ActOnTemplateIdType()
2391 Result = Context.getElaboratedType(Keyword, SS.getScopeRep(), Result); in ActOnTagTemplateIdType()
2963 << SS.getScopeRep() in BuildQualifiedTemplateIdExpr()
3037 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in ActOnDependentTemplateName()
[all …]
DSemaDeclCXX.cpp2886 if (!SS.getScopeRep() && !TemplateTypeTy) { in BuildMemInitializer()
2993 BaseType = Context.getElaboratedType(ETK_None, SS.getScopeRep(), in BuildMemInitializer()
7557 Qualifier = SS.getScopeRep(); in ActOnUsingDirective()
8152 HasTypenameKeyword, IsInstantiation, SS.getScopeRep(), in BuildUsingDeclaration()
8290 NestedNameSpecifier *Qual = SS.getScopeRep(); in CheckUsingDeclRedeclaration()
8422 << SS.getScopeRep() << SS.getRange(); in CheckUsingDeclQualifier()
8447 << SS.getScopeRep() in CheckUsingDeclQualifier()
8493 << SS.getScopeRep() in CheckUsingDeclQualifier()
12352 << SS.getScopeRep() << SS.getRange() << cast<CXXRecordDecl>(CurContext); in ActOnTemplatedFriendTag()
12354 QualType T = Context.getDependentNameType(ETK, SS.getScopeRep(), Name); in ActOnTemplatedFriendTag()
[all …]
DSemaLookup.cpp2107 auto *NNS = SS.getScopeRep(); in LookupQualifiedName()
2143 NestedNameSpecifier *NNS = SS->getScopeRep(); in LookupParsedName()
3879 (SS && SS->isValid()) ? SS->getScopeRep() : nullptr) { in addNamespaces()
4023 SS->getScopeRep()->print(OldOStream, SemaRef.getPrintingPolicy()); in performQualifiedLookups()
4060 CurScopeSpec ? CurScopeSpec->getScopeRep() : nullptr) { in NamespaceSpecifierSet()
DSemaExprCXX.cpp51 NestedNameSpecifier *NNS = SS.getScopeRep(); in getInheritingConstructorName()
125 NestedNameSpecifier *NNS = SS.getScopeRep(); in getDestructorName()
349 switch (SS.getScopeRep()->getKind()) { in checkLiteralOperatorId()
358 << SS.getScopeRep(); in checkLiteralOperatorId()
DTreeTransform.h3417 if (SS.getScopeRep() == NNS.getNestedNameSpecifier() && in TransformNestedNameSpecifierLoc()
3425 return NestedNameSpecifierLoc(SS.getScopeRep(), NNS.getOpaqueData()); in TransformNestedNameSpecifierLoc()
3500 SS.getScopeRep() == QTN->getQualifier() && in TransformTemplateName()
3509 if (SS.getScopeRep()) { in TransformTemplateName()
3516 SS.getScopeRep() == DTN->getQualifier() && in TransformTemplateName()
11352 return SemaRef.Context.getQualifiedTemplateName(SS.getScopeRep(), TemplateKW, in RebuildTemplateName()
DSemaDecl.cpp541 if (SS->getScopeRep()->getKind() == NestedNameSpecifier::Super) in isMicrosoftMissingTypename()
544 const Type *Ty = SS->getScopeRep()->getAsType(); in isMicrosoftMissingTypename()
638 << SS->getScopeRep() << II->getName() in DiagnoseUnknownTypeName()
950 Template = Context.getQualifiedTemplateName(SS.getScopeRep(), in ClassifyName()
4772 NestedNameSpecifierLoc SpecLoc(SS.getScopeRep(), SS.location_data()); in diagnoseQualifiedDeclaration()
4823 << D.getCXXScopeSpec().getScopeRep() in HandleDeclarator()
8129 D.getCXXScopeSpec().getScopeRep()->isDependent() || in ActOnFunctionDeclarator()
DSemaType.cpp4055 NestedNameSpecifier *NNS = SS.getScopeRep(); in GetFullTypeForDeclarator()
6852 NNS = SS.getScopeRep(); in getElaboratedType()
DSemaCodeComplete.cpp4227 if (!SS.getScopeRep() || !CodeCompleter) in CodeCompleteQualifiedId()
4246 NestedNameSpecifier *NNS = SS.getScopeRep(); in CodeCompleteQualifiedId()
DSemaExpr.cpp2162 II, SS.isValid() ? SS.getScopeRep() : nullptr); in ActOnIdExpression()
2170 CCC->setTypoNNS(SS.getScopeRep()); in ActOnIdExpression()
2319 D << SS.getScopeRep() << NameInfo.getName().getAsString() in BuildQualifiedDeclarationNameExpr()
/external/clang/include/clang/Sema/
DDeclSpec.h76 NestedNameSpecifier *getScopeRep() const { in getScopeRep() function
194 bool isInvalid() const { return isNotEmpty() && getScopeRep() == nullptr; } in isInvalid()
196 bool isValid() const { return isNotEmpty() && getScopeRep() != nullptr; } in isValid()
209 bool isSet() const { return getScopeRep() != nullptr; } in isSet()
/external/clang/lib/Parse/
DParseTentative.cpp1319 if (SS.getScopeRep() && SS.getScopeRep()->isDependent()) { in isCXXDeclarationSpecifier()
DParseDeclCXX.cpp547 !SS.getScopeRep()->getAsNamespace() && in ParseUsingDeclaration()
548 !SS.getScopeRep()->getAsNamespaceAlias()) { in ParseUsingDeclaration()