Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp57 NestedNameSpecifier *NNS = SS.getScopeRep(); in computeDeclContext()
165 return SS.getScopeRep()->isDependent(); in isDependentScopeSpecifier()
861 assert(DTN->getQualifier() == SS.getScopeRep()); in ActOnCXXNestedNameSpecifier()
950 Annotation->NNS = SS.getScopeRep(); in SaveNestedNameSpecifierAnnotation()
976 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in ShouldEnterDeclaratorScope()
H A DSemaTemplateVariadic.cpp518 if (!SS.getScopeRep() || in DiagnoseUnexpandedParameterPack()
519 !SS.getScopeRep()->containsUnexpandedParameterPack()) in DiagnoseUnexpandedParameterPack()
524 .TraverseNestedNameSpecifier(SS.getScopeRep()); in DiagnoseUnexpandedParameterPack()
1108 if (Chunk.Mem.Scope().getScopeRep() && in containsUnexpandedParameterPacks()
1109 Chunk.Mem.Scope().getScopeRep()->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
H A DSemaExprMember.cpp884 (SS.isSet() ? SS.getScopeRep()->isDependent() in BuildMemberReferenceExpr()
1310 << 1 << SS.getScopeRep() in LookupMemberExpr()
1472 << 0 << SS.getScopeRep() << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr()
1709 = (!SS.isSet() ? nullptr : FindFirstQualifierInScope(S, SS.getScopeRep())); in ActOnMemberAccessExpr()
1826 ExprResult Base = PerformObjectMemberConversion(BaseExpr, SS.getScopeRep(), in BuildFieldReferenceExpr()
H A DSemaTemplate.cpp294 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in isTemplateName()
345 SS.getScopeRep(), /*TemplateKeyword=*/false, TemplateName(TD)); in isDeductionGuideName()
366 NestedNameSpecifier *Qualifier = (NestedNameSpecifier *)SS->getScopeRep(); in DiagnoseUnknownTemplateName()
1861 << SS.getScopeRep() << SS.getRange(); in CheckClassTemplate()
2702 NestedNameSpecifierLoc NNSLoc(SS.getScopeRep(), SS.location_data()); in getRangeOfTypeInNestedNameSpecifier()
2729 if (SS.getScopeRep()) { in MatchTemplateParametersToScopeSpecifier()
2734 T = QualType(SS.getScopeRep()->getAsType(), 0); in MatchTemplateParametersToScopeSpecifier()
3862 NestedNameSpecifier::Create(Context, SS.getScopeRep(), TemplateII); in ActOnTemplateIdType()
3904 assert(SS.getScopeRep() == DTN->getQualifier()); in ActOnTemplateIdType()
3973 assert(SS.getScopeRep() == DTN->getQualifier()); in ActOnTagTemplateIdType()
[all …]
H A DSemaLookup.cpp2706 auto *NNS = SS.getScopeRep(); in LookupQualifiedName()
2746 if (NestedNameSpecifier *NNS = SS->getScopeRep(); in LookupParsedName()
4712 (SS && SS->isValid()) ? SS->getScopeRep() : nullptr) { in addNamespaces()
4856 SS->getScopeRep()->print(OldOStream, SemaRef.getPrintingPolicy()); in performQualifiedLookups()
4893 CurScopeSpec ? CurScopeSpec->getScopeRep() : nullptr) { in NamespaceSpecifierSet()
H A DSemaExprCXX.cpp60 NestedNameSpecifier *NNS = SS.getScopeRep(); in getInheritingConstructorName()
81 if (CurClass->isDependentContext() && !EnteringContext && SS.getScopeRep()) { in getConstructorName()
83 SS.getScopeRep(), &II); in getConstructorName()
315 SS.isSet() ? SS.getScopeRep()->getPrefix() : nullptr) { in getDestructorName()
379 if (SS.isValid() && SS.getScopeRep()->getPrefix()) { in getDestructorName()
509 switch (SS.getScopeRep()->getKind()) { in checkLiteralOperatorId()
517 << SS.getScopeRep(); in checkLiteralOperatorId()
H A DSemaDeclCXX.cpp4371 if (SS.getScopeRep() || TemplateTypeTy) in tryLookupCtorInitMemberDecl()
12441 Qualifier = SS.getScopeRep(); in ActOnUsingDirective()
12587 if (!SS.getScopeRep()->containsUnexpandedParameterPack() && in ActOnUsingDeclaration()
13188 UsingValidatorCCC CCC(HasTypenameKeyword, IsInstantiation, SS.getScopeRep(), in BuildUsingDeclaration()
13398 NestedNameSpecifier *Qual = SS.getScopeRep(); in CheckUsingDeclRedeclaration()
13608 << SS.getScopeRep() << SS.getRange(); in CheckUsingDeclQualifier()
13647 << SS.getScopeRep() << cast<CXXRecordDecl>(CurContext) in CheckUsingDeclQualifier()
18009 << SS.getScopeRep() << SS.getRange() << cast<CXXRecordDecl>(CurContext); in ActOnTemplatedFriendTag()
18011 QualType T = Context.getDependentNameType(ETK, SS.getScopeRep(), Name); in ActOnTemplatedFriendTag()
18289 } else if (!SS.getScopeRep()->isDependent()) { in ActOnFriendFunctionDecl()
[all …]
H A DSemaDecl.cpp353 << NestedNameSpecifier::Create(Context, SS->getScopeRep(), &II); in getTypeName()
467 SS->getScopeRep(), &II); in getTypeName()
555 SS ? SS->getScopeRep() : nullptr, /*TemplateKeyword=*/false, in getTypeName()
682 if (SS->getScopeRep()->getKind() == NestedNameSpecifier::Super) in isMicrosoftMissingTypename()
685 const Type *Ty = SS->getScopeRep()->getAsType(); in isMicrosoftMissingTypename()
789 else if (SS->isValid() && SS->getScopeRep()->containsErrors()) { in DiagnoseUnknownTypeName()
798 << NestedNameSpecifier::Create(Context, SS->getScopeRep(), II) in DiagnoseUnknownTypeName()
1135 SS.getScopeRep(), in ClassifyName()
6282 NestedNameSpecifierLoc SpecLoc(SS.getScopeRep(), SS.location_data()); in diagnoseQualifiedDeclaration()
6352 << D.getCXXScopeSpec().getScopeRep() in HandleDeclarator()
[all …]
H A DTreeTransform.h4693 if (SS.getScopeRep() == NNS.getNestedNameSpecifier() && in TransformNestedNameSpecifierLoc()
4701 return NestedNameSpecifierLoc(SS.getScopeRep(), NNS.getOpaqueData()); in TransformNestedNameSpecifierLoc()
4806 SS.getScopeRep() == QTN->getQualifier() && in TransformTemplateName()
4815 if (SS.getScopeRep()) { in TransformTemplateName()
4822 SS.getScopeRep() == DTN->getQualifier() && in TransformTemplateName()
7468 assert(DTN->getQualifier() == SS.getScopeRep()); in TransformDependentTemplateSpecializationType()
7829 if (getDerived().AlwaysRebuild() || SS.getScopeRep() != DTN.getQualifier() || in TransformDependentTemplateSpecializationType()
7838 T->getKeyword(), SS.getScopeRep(), TL.getTemplateKeywordLoc(), Name, in TransformDependentTemplateSpecializationType()
17440 return SemaRef.Context.getQualifiedTemplateName(SS.getScopeRep(), TemplateKW, in RebuildTemplateName()
H A DSemaType.cpp2755 return Context.getMemberPointerType(T, SS.getScopeRep(), Cls); in BuildMemberPointerType()
3658 for (NestedNameSpecifier *NNS = D.getCXXScopeSpec().getScopeRep(); NNS; in warnAboutRedundantParens()
5323 .getScopeRep() in GetFullTypeForDeclarator()
9639 Keyword, SS.isValid() ? SS.getScopeRep() : nullptr, T, OwnedTagDecl); in getElaboratedType()
H A DSemaExpr.cpp2834 DefaultFilterCCC DefaultValidator(II, SS.isValid() ? SS.getScopeRep() in ActOnIdExpression()
2843 CCC->setTypoNNS(SS.getScopeRep()); in ActOnIdExpression()
H A DSemaCodeComplete.cpp6882 NestedNameSpecifier *NNS = SS.getScopeRep(); in CodeCompleteQualifiedId()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h95 NestedNameSpecifier *getScopeRep() const { in getScopeRep() function
207 bool isEmpty() const { return Range.isInvalid() && getScopeRep() == nullptr; } in isEmpty()
212 bool isInvalid() const { return Range.isValid() && getScopeRep() == nullptr; } in isInvalid()
214 bool isValid() const { return getScopeRep() != nullptr; } in isValid()
227 bool isSet() const { return getScopeRep() != nullptr; } in isSet()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseTentative.cpp1331 if (SS.getScopeRep() && SS.getScopeRep()->isDependent()) { in isCXXDeclarationSpecifier()
H A DParseDeclCXX.cpp594 !D.SS.getScopeRep()->getAsNamespace() && in ParseUsingDeclarator()
595 !D.SS.getScopeRep()->getAsNamespaceAlias()) { in ParseUsingDeclarator()