Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp79 NestedNameSpecifier *NNS = SS.getScopeRep(); in computeDeclContext()
171 return SS.getScopeRep()->isDependent(); in isDependentScopeSpecifier()
933 assert(DTN->getQualifier() == SS.getScopeRep()); in ActOnCXXNestedNameSpecifier()
1024 Annotation->NNS = SS.getScopeRep(); in SaveNestedNameSpecifierAnnotation()
1050 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in ShouldEnterDeclaratorScope()
H A DSemaTemplateVariadic.cpp438 if (!SS.getScopeRep() || in DiagnoseUnexpandedParameterPack()
439 !SS.getScopeRep()->containsUnexpandedParameterPack()) in DiagnoseUnexpandedParameterPack()
444 .TraverseNestedNameSpecifier(SS.getScopeRep()); in DiagnoseUnexpandedParameterPack()
957 if (Chunk.Mem.Scope().getScopeRep() && in containsUnexpandedParameterPacks()
958 Chunk.Mem.Scope().getScopeRep()->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
H A DSemaTemplate.cpp292 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in isTemplateName()
750 if (NestedNameSpecifier *NNS = SS.getScopeRep()) in ActOnDependentIdExpression()
1760 << SS.getScopeRep() << SS.getRange(); in CheckClassTemplate()
3124 if (SS.getScopeRep()) { in MatchTemplateParametersToScopeSpecifier()
3129 T = QualType(SS.getScopeRep()->getAsType(), 0); in MatchTemplateParametersToScopeSpecifier()
3982 << SS.getScopeRep() << TemplateII->getName(); in ActOnTemplateIdType()
4861 << SS.getScopeRep() in BuildQualifiedTemplateIdExpr()
4980 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in ActOnTemplateName()
9579 for (NestedNameSpecifier *NNS = SS.getScopeRep(); NNS; in ScopeSpecifierHasTemplateId()
10449 NestedNameSpecifier *NNS = SS.getScopeRep(); in ActOnDependentTag()
[all …]
H A DSemaExprMember.cpp1328 << 1 << SS.getScopeRep() in LookupMemberExpr()
1491 << 0 << SS.getScopeRep() << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr()
1743 = (!SS.isSet() ? nullptr : FindFirstQualifierInScope(S, SS.getScopeRep())); in ActOnMemberAccessExpr()
1859 ExprResult Base = PerformObjectMemberConversion(BaseExpr, SS.getScopeRep(), in BuildFieldReferenceExpr()
H A DSemaLookup.cpp2677 auto *NNS = SS.getScopeRep(); in LookupQualifiedName()
2713 NestedNameSpecifier *NNS = SS->getScopeRep(); in LookupParsedName()
4657 (SS && SS->isValid()) ? SS->getScopeRep() : nullptr) { in addNamespaces()
4801 SS->getScopeRep()->print(OldOStream, SemaRef.getPrintingPolicy()); in performQualifiedLookups()
4838 CurScopeSpec ? CurScopeSpec->getScopeRep() : nullptr) { in NamespaceSpecifierSet()
H A DSemaDeclCXX.cpp4194 if (SS.getScopeRep() || TemplateTypeTy) in tryLookupCtorInitMemberDecl()
11662 Qualifier = SS.getScopeRep(); in ActOnUsingDirective()
11806 if (!SS.getScopeRep()->containsUnexpandedParameterPack() && in ActOnUsingDeclaration()
12643 NestedNameSpecifier *Qual = SS.getScopeRep(); in CheckUsingDeclRedeclaration()
12859 << SS.getScopeRep() << SS.getRange(); in CheckUsingDeclQualifier()
12896 << SS.getScopeRep() << cast<CXXRecordDecl>(CurContext) in CheckUsingDeclQualifier()
12942 << SS.getScopeRep() in CheckUsingDeclQualifier()
17098 } else if (!SS.getScopeRep()->isDependent()) { in ActOnFriendFunctionDecl()
17126 DB << SS.getScopeRep(); in ActOnFriendFunctionDecl()
17144 << SS.getScopeRep(); in ActOnFriendFunctionDecl()
[all …]
H A DSemaExprCXX.cpp55 NestedNameSpecifier *NNS = SS.getScopeRep(); in getInheritingConstructorName()
97 if (CurClass->isDependentContext() && !EnteringContext && SS.getScopeRep()) { in getConstructorName()
98 QualType T = Context.getDependentNameType(ETK_None, SS.getScopeRep(), &II); in getConstructorName()
331 SS.isSet() ? SS.getScopeRep()->getPrefix() : nullptr) { in getDestructorName()
391 if (SS.getScopeRep()->getPrefix()) { in getDestructorName()
513 switch (SS.getScopeRep()->getKind()) { in checkLiteralOperatorId()
522 << SS.getScopeRep(); in checkLiteralOperatorId()
H A DSemaDecl.cpp669 if (SS->getScopeRep()->getKind() == NestedNameSpecifier::Super) in isMicrosoftMissingTypename()
672 const Type *Ty = SS->getScopeRep()->getAsType(); in isMicrosoftMissingTypename()
776 else if (SS->isValid() && SS->getScopeRep()->containsErrors()) { in DiagnoseUnknownTypeName()
785 << SS->getScopeRep() << II->getName() in DiagnoseUnknownTypeName()
1123 Template = Context.getQualifiedTemplateName(SS.getScopeRep(), in ClassifyName()
6135 NestedNameSpecifierLoc SpecLoc(SS.getScopeRep(), SS.location_data()); in diagnoseQualifiedDeclaration()
6187 << D.getCXXScopeSpec().getScopeRep() in HandleDeclarator()
10233 (D.getCXXScopeSpec().getScopeRep()->isDependent() || in ActOnFunctionDeclarator()
H A DSemaType.cpp3897 for (NestedNameSpecifier *NNS = D.getCXXScopeSpec().getScopeRep(); NNS; in warnAboutRedundantParens()
5472 .getScopeRep() in GetFullTypeForDeclarator()
5519 NestedNameSpecifier *NNS = SS.getScopeRep(); in GetFullTypeForDeclarator()
9108 NNS = SS.getScopeRep(); in getElaboratedType()
H A DTreeTransform.h4214 if (SS.getScopeRep() == NNS.getNestedNameSpecifier() && in TransformNestedNameSpecifierLoc()
4222 return NestedNameSpecifierLoc(SS.getScopeRep(), NNS.getOpaqueData()); in TransformNestedNameSpecifierLoc()
4311 SS.getScopeRep() == QTN->getQualifier() && in TransformTemplateName()
4320 if (SS.getScopeRep()) { in TransformTemplateName()
4327 SS.getScopeRep() == DTN->getQualifier() && in TransformTemplateName()
14802 return SemaRef.Context.getQualifiedTemplateName(SS.getScopeRep(), TemplateKW, in RebuildTemplateName()
H A DSemaExpr.cpp2614 DefaultFilterCCC DefaultValidator(II, SS.isValid() ? SS.getScopeRep() in ActOnIdExpression()
2623 CCC->setTypoNNS(SS.getScopeRep()); in ActOnIdExpression()
2781 D << SS.getScopeRep() << NameInfo.getName().getAsString() in BuildQualifiedDeclarationNameExpr()
H A DSemaCodeComplete.cpp6541 NestedNameSpecifier *NNS = SS.getScopeRep(); in CodeCompleteQualifiedId()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DDeclSpec.h77 NestedNameSpecifier *getScopeRep() const { in getScopeRep() function
190 bool isEmpty() const { return Range.isInvalid() && getScopeRep() == nullptr; } in isEmpty()
195 bool isInvalid() const { return Range.isValid() && getScopeRep() == nullptr; } in isInvalid()
197 bool isValid() const { return getScopeRep() != nullptr; } in isValid()
210 bool isSet() const { return getScopeRep() != nullptr; } in isSet()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseTentative.cpp1506 if (SS.getScopeRep() && SS.getScopeRep()->isDependent()) { in isCXXDeclarationSpecifier()
H A DParseDeclCXX.cpp637 !D.SS.getScopeRep()->getAsNamespace() && in ParseUsingDeclarator()
638 !D.SS.getScopeRep()->getAsNamespaceAlias()) { in ParseUsingDeclarator()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DIncludeFixer.cpp396 if (auto *Nested = SS->getScopeRep()) { in extractUnresolvedNameCheaply()
H A DCodeComplete.cpp1327 NestedNameSpecifier *NameSpec = (*Scope)->getScopeRep(); in allowIndex()