Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp79 NestedNameSpecifier *NNS = SS.getScopeRep(); in computeDeclContext()
190 return SS.getScopeRep()->isDependent(); in isDependentScopeSpecifier()
909 assert(DTN->getQualifier() == SS.getScopeRep()); in ActOnCXXNestedNameSpecifier()
999 Annotation->NNS = SS.getScopeRep(); in SaveNestedNameSpecifierAnnotation()
1025 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in ShouldEnterDeclaratorScope()
H A DSemaTemplateVariadic.cpp446 if (!SS.getScopeRep() || in DiagnoseUnexpandedParameterPack()
447 !SS.getScopeRep()->containsUnexpandedParameterPack()) in DiagnoseUnexpandedParameterPack()
452 .TraverseNestedNameSpecifier(SS.getScopeRep()); in DiagnoseUnexpandedParameterPack()
969 if (Chunk.Mem.Scope().getScopeRep() && in containsUnexpandedParameterPacks()
970 Chunk.Mem.Scope().getScopeRep()->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
H A DSemaTemplate.cpp294 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in isTemplateName()
752 if (NestedNameSpecifier *NNS = SS.getScopeRep()) in ActOnDependentIdExpression()
1899 << SS.getScopeRep() << SS.getRange(); in CheckClassTemplate()
3389 if (SS.getScopeRep()) { in MatchTemplateParametersToScopeSpecifier()
3394 T = QualType(SS.getScopeRep()->getAsType(), 0); in MatchTemplateParametersToScopeSpecifier()
4308 assert(SS.getScopeRep() == DTN->getQualifier()); in ActOnTemplateIdType()
4378 assert(SS.getScopeRep() == DTN->getQualifier()); in ActOnTagTemplateIdType()
5288 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in ActOnTemplateName()
11007 NestedNameSpecifier *NNS = SS.getScopeRep(); in ActOnDependentTag()
11101 assert(DTN->getQualifier() == SS.getScopeRep()); in ActOnTypenameType()
[all …]
H A DSemaExprMember.cpp1361 << 1 << SS.getScopeRep() in LookupMemberExpr()
1524 << 0 << SS.getScopeRep() << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr()
1777 = (!SS.isSet() ? nullptr : FindFirstQualifierInScope(S, SS.getScopeRep())); in ActOnMemberAccessExpr()
1893 ExprResult Base = PerformObjectMemberConversion(BaseExpr, SS.getScopeRep(), in BuildFieldReferenceExpr()
H A DSemaLookup.cpp2692 auto *NNS = SS.getScopeRep(); in LookupQualifiedName()
2728 NestedNameSpecifier *NNS = SS->getScopeRep(); in LookupParsedName()
4687 (SS && SS->isValid()) ? SS->getScopeRep() : nullptr) { in addNamespaces()
4831 SS->getScopeRep()->print(OldOStream, SemaRef.getPrintingPolicy()); in performQualifiedLookups()
4868 CurScopeSpec ? CurScopeSpec->getScopeRep() : nullptr) { in NamespaceSpecifierSet()
H A DSemaExprCXX.cpp61 NestedNameSpecifier *NNS = SS.getScopeRep(); in getInheritingConstructorName()
103 if (CurClass->isDependentContext() && !EnteringContext && SS.getScopeRep()) { in getConstructorName()
105 SS.getScopeRep(), &II); in getConstructorName()
337 SS.isSet() ? SS.getScopeRep()->getPrefix() : nullptr) { in getDestructorName()
397 if (SS.isValid() && SS.getScopeRep()->getPrefix()) { in getDestructorName()
522 switch (SS.getScopeRep()->getKind()) { in checkLiteralOperatorId()
531 << SS.getScopeRep(); in checkLiteralOperatorId()
H A DSemaDeclCXX.cpp4424 if (SS.getScopeRep() || TemplateTypeTy) in tryLookupCtorInitMemberDecl()
12199 Qualifier = SS.getScopeRep(); in ActOnUsingDirective()
12343 if (!SS.getScopeRep()->containsUnexpandedParameterPack() && in ActOnUsingDeclaration()
13191 NestedNameSpecifier *Qual = SS.getScopeRep(); in CheckUsingDeclRedeclaration()
13407 << SS.getScopeRep() << SS.getRange(); in CheckUsingDeclQualifier()
13444 << SS.getScopeRep() << cast<CXXRecordDecl>(CurContext) in CheckUsingDeclQualifier()
13490 << SS.getScopeRep() in CheckUsingDeclQualifier()
17708 QualType T = Context.getDependentNameType(ETK, SS.getScopeRep(), Name); in ActOnTemplatedFriendTag()
17977 } else if (!SS.getScopeRep()->isDependent()) { in ActOnFriendFunctionDecl()
18096 DB << SS.getScopeRep(); in ActOnFriendFunctionDecl()
[all …]
H A DSemaDecl.cpp380 << SS->getScopeRep() << II.getName() in getTypeName()
489 SS->getScopeRep(), &II); in getTypeName()
731 if (SS->getScopeRep()->getKind() == NestedNameSpecifier::Super) in isMicrosoftMissingTypename()
734 const Type *Ty = SS->getScopeRep()->getAsType(); in isMicrosoftMissingTypename()
838 else if (SS->isValid() && SS->getScopeRep()->containsErrors()) { in DiagnoseUnknownTypeName()
847 << SS->getScopeRep() << II->getName() in DiagnoseUnknownTypeName()
1185 Template = Context.getQualifiedTemplateName(SS.getScopeRep(), in ClassifyName()
6351 NestedNameSpecifierLoc SpecLoc(SS.getScopeRep(), SS.location_data()); in diagnoseQualifiedDeclaration()
6403 << D.getCXXScopeSpec().getScopeRep() in HandleDeclarator()
10662 (D.getCXXScopeSpec().getScopeRep()->isDependent() || in ActOnFunctionDeclarator()
H A DSemaType.cpp4067 for (NestedNameSpecifier *NNS = D.getCXXScopeSpec().getScopeRep(); NNS; in warnAboutRedundantParens()
5677 .getScopeRep() in GetFullTypeForDeclarator()
5724 NestedNameSpecifier *NNS = SS.getScopeRep(); in GetFullTypeForDeclarator()
9701 Keyword, SS.isValid() ? SS.getScopeRep() : nullptr, T, OwnedTagDecl); in getElaboratedType()
H A DTreeTransform.h4401 if (SS.getScopeRep() == NNS.getNestedNameSpecifier() && in TransformNestedNameSpecifierLoc()
4409 return NestedNameSpecifierLoc(SS.getScopeRep(), NNS.getOpaqueData()); in TransformNestedNameSpecifierLoc()
4498 SS.getScopeRep() == QTN->getQualifier() && in TransformTemplateName()
4507 if (SS.getScopeRep()) { in TransformTemplateName()
4514 SS.getScopeRep() == DTN->getQualifier() && in TransformTemplateName()
15261 return SemaRef.Context.getQualifiedTemplateName(SS.getScopeRep(), TemplateKW, in RebuildTemplateName()
H A DSemaExpr.cpp2813 DefaultFilterCCC DefaultValidator(II, SS.isValid() ? SS.getScopeRep() in ActOnIdExpression()
2822 CCC->setTypoNNS(SS.getScopeRep()); in ActOnIdExpression()
2984 D << SS.getScopeRep() << NameInfo.getName().getAsString() in BuildQualifiedDeclarationNameExpr()
H A DSemaCodeComplete.cpp6682 NestedNameSpecifier *NNS = SS.getScopeRep(); in CodeCompleteQualifiedId()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h94 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-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseTentative.cpp1641 if (SS.getScopeRep() && SS.getScopeRep()->isDependent()) { in isCXXDeclarationSpecifier()
H A DParseDeclCXX.cpp642 !D.SS.getScopeRep()->getAsNamespace() && in ParseUsingDeclarator()
643 !D.SS.getScopeRep()->getAsNamespaceAlias()) { in ParseUsingDeclarator()