Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp79 NestedNameSpecifier *NNS = SS.getScopeRep(); in computeDeclContext()
171 return SS.getScopeRep()->isDependent(); in isDependentScopeSpecifier()
925 assert(DTN->getQualifier() == SS.getScopeRep()); in ActOnCXXNestedNameSpecifier()
1016 Annotation->NNS = SS.getScopeRep(); in SaveNestedNameSpecifierAnnotation()
1042 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in ShouldEnterDeclaratorScope()
H A DSemaTemplateVariadic.cpp439 if (!SS.getScopeRep() || in DiagnoseUnexpandedParameterPack()
440 !SS.getScopeRep()->containsUnexpandedParameterPack()) in DiagnoseUnexpandedParameterPack()
445 .TraverseNestedNameSpecifier(SS.getScopeRep()); in DiagnoseUnexpandedParameterPack()
959 if (Chunk.Mem.Scope().getScopeRep() && in containsUnexpandedParameterPacks()
960 Chunk.Mem.Scope().getScopeRep()->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
H A DSemaTemplate.cpp285 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in isTemplateName()
746 if (NestedNameSpecifier *NNS = SS.getScopeRep()) in ActOnDependentIdExpression()
1755 << SS.getScopeRep() << SS.getRange(); in CheckClassTemplate()
3068 if (SS.getScopeRep()) { in MatchTemplateParametersToScopeSpecifier()
3073 T = QualType(SS.getScopeRep()->getAsType(), 0); in MatchTemplateParametersToScopeSpecifier()
3924 << SS.getScopeRep() << TemplateII->getName(); in ActOnTemplateIdType()
4803 << SS.getScopeRep() in BuildQualifiedTemplateIdExpr()
4922 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in ActOnTemplateName()
9477 for (NestedNameSpecifier *NNS = SS.getScopeRep(); NNS; in ScopeSpecifierHasTemplateId()
10347 NestedNameSpecifier *NNS = SS.getScopeRep(); in ActOnDependentTag()
[all …]
H A DSemaExprMember.cpp1312 << 1 << SS.getScopeRep() in LookupMemberExpr()
1475 << 0 << SS.getScopeRep() << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr()
1711 = (!SS.isSet() ? nullptr : FindFirstQualifierInScope(S, SS.getScopeRep())); in ActOnMemberAccessExpr()
1827 ExprResult Base = PerformObjectMemberConversion(BaseExpr, SS.getScopeRep(), in BuildFieldReferenceExpr()
H A DSemaLookup.cpp2421 auto *NNS = SS.getScopeRep(); in LookupQualifiedName()
2457 NestedNameSpecifier *NNS = SS->getScopeRep(); in LookupParsedName()
4339 (SS && SS->isValid()) ? SS->getScopeRep() : nullptr) { in addNamespaces()
4483 SS->getScopeRep()->print(OldOStream, SemaRef.getPrintingPolicy()); in performQualifiedLookups()
4520 CurScopeSpec ? CurScopeSpec->getScopeRep() : nullptr) { in NamespaceSpecifierSet()
H A DSemaDeclCXX.cpp4146 if (SS.getScopeRep() || TemplateTypeTy) in tryLookupCtorInitMemberDecl()
11462 Qualifier = SS.getScopeRep(); in ActOnUsingDirective()
11606 if (!SS.getScopeRep()->containsUnexpandedParameterPack() && in ActOnUsingDeclaration()
12443 NestedNameSpecifier *Qual = SS.getScopeRep(); in CheckUsingDeclRedeclaration()
12659 << SS.getScopeRep() << SS.getRange(); in CheckUsingDeclQualifier()
12696 << SS.getScopeRep() << cast<CXXRecordDecl>(CurContext) in CheckUsingDeclQualifier()
12742 << SS.getScopeRep() in CheckUsingDeclQualifier()
16844 } else if (!SS.getScopeRep()->isDependent()) { in ActOnFriendFunctionDecl()
16872 DB << SS.getScopeRep(); in ActOnFriendFunctionDecl()
16890 << SS.getScopeRep(); in ActOnFriendFunctionDecl()
[all …]
H A DSemaExprCXX.cpp52 NestedNameSpecifier *NNS = SS.getScopeRep(); in getInheritingConstructorName()
94 if (CurClass->isDependentContext() && !EnteringContext && SS.getScopeRep()) { in getConstructorName()
95 QualType T = Context.getDependentNameType(ETK_None, SS.getScopeRep(), &II); in getConstructorName()
328 SS.isSet() ? SS.getScopeRep()->getPrefix() : nullptr) { in getDestructorName()
388 if (SS.getScopeRep()->getPrefix()) { in getDestructorName()
510 switch (SS.getScopeRep()->getKind()) { in checkLiteralOperatorId()
519 << SS.getScopeRep(); in checkLiteralOperatorId()
H A DSemaType.cpp3830 for (NestedNameSpecifier *NNS = D.getCXXScopeSpec().getScopeRep(); NNS; in warnAboutRedundantParens()
5380 .getScopeRep() in GetFullTypeForDeclarator()
5427 NestedNameSpecifier *NNS = SS.getScopeRep(); in GetFullTypeForDeclarator()
8880 NNS = SS.getScopeRep(); in getElaboratedType()
H A DSemaDecl.cpp652 if (SS->getScopeRep()->getKind() == NestedNameSpecifier::Super) in isMicrosoftMissingTypename()
655 const Type *Ty = SS->getScopeRep()->getAsType(); in isMicrosoftMissingTypename()
759 else if (SS->isValid() && SS->getScopeRep()->containsErrors()) { in DiagnoseUnknownTypeName()
768 << SS->getScopeRep() << II->getName() in DiagnoseUnknownTypeName()
1112 Context.getQualifiedTemplateName(SS.getScopeRep(), in ClassifyName()
5761 NestedNameSpecifierLoc SpecLoc(SS.getScopeRep(), SS.location_data()); in diagnoseQualifiedDeclaration()
5813 << D.getCXXScopeSpec().getScopeRep() in HandleDeclarator()
9791 (D.getCXXScopeSpec().getScopeRep()->isDependent() || in ActOnFunctionDeclarator()
H A DTreeTransform.h4148 if (SS.getScopeRep() == NNS.getNestedNameSpecifier() && in TransformNestedNameSpecifierLoc()
4156 return NestedNameSpecifierLoc(SS.getScopeRep(), NNS.getOpaqueData()); in TransformNestedNameSpecifierLoc()
4245 SS.getScopeRep() == QTN->getQualifier() && in TransformTemplateName()
4254 if (SS.getScopeRep()) { in TransformTemplateName()
4261 SS.getScopeRep() == DTN->getQualifier() && in TransformTemplateName()
14508 return SemaRef.Context.getQualifiedTemplateName(SS.getScopeRep(), TemplateKW, in RebuildTemplateName()
H A DSemaExpr.cpp2555 DefaultFilterCCC DefaultValidator(II, SS.isValid() ? SS.getScopeRep() in ActOnIdExpression()
2564 CCC->setTypoNNS(SS.getScopeRep()); in ActOnIdExpression()
2722 D << SS.getScopeRep() << NameInfo.getName().getAsString() in BuildQualifiedDeclarationNameExpr()
H A DSemaCodeComplete.cpp6054 NestedNameSpecifier *NNS = SS.getScopeRep(); in CodeCompleteQualifiedId()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseTentative.cpp1506 if (SS.getScopeRep() && SS.getScopeRep()->isDependent()) { in isCXXDeclarationSpecifier()
H A DParseDeclCXX.cpp629 !D.SS.getScopeRep()->getAsNamespace() && in ParseUsingDeclarator()
630 !D.SS.getScopeRep()->getAsNamespaceAlias()) { in ParseUsingDeclarator()