Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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()
1023 Annotation->NNS = SS.getScopeRep(); in SaveNestedNameSpecifierAnnotation()
1049 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()
962 if (Chunk.Mem.Scope().getScopeRep() && in containsUnexpandedParameterPacks()
963 Chunk.Mem.Scope().getScopeRep()->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
H A DSemaTemplate.cpp292 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in isTemplateName()
751 if (NestedNameSpecifier *NNS = SS.getScopeRep()) in ActOnDependentIdExpression()
1854 << SS.getScopeRep() << SS.getRange(); in CheckClassTemplate()
3220 if (SS.getScopeRep()) { in MatchTemplateParametersToScopeSpecifier()
3225 T = QualType(SS.getScopeRep()->getAsType(), 0); in MatchTemplateParametersToScopeSpecifier()
4139 assert(SS.getScopeRep() == DTN->getQualifier()); in ActOnTemplateIdType()
4208 assert(SS.getScopeRep() == DTN->getQualifier()); in ActOnTagTemplateIdType()
4992 << SS.getScopeRep() in BuildQualifiedTemplateIdExpr()
5111 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in ActOnTemplateName()
10703 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()
1734 = (!SS.isSet() ? nullptr : FindFirstQualifierInScope(S, SS.getScopeRep())); in ActOnMemberAccessExpr()
1850 ExprResult Base = PerformObjectMemberConversion(BaseExpr, SS.getScopeRep(), in BuildFieldReferenceExpr()
H A DSemaLookup.cpp2688 auto *NNS = SS.getScopeRep(); in LookupQualifiedName()
2724 NestedNameSpecifier *NNS = SS->getScopeRep(); in LookupParsedName()
4669 (SS && SS->isValid()) ? SS->getScopeRep() : nullptr) { in addNamespaces()
4813 SS->getScopeRep()->print(OldOStream, SemaRef.getPrintingPolicy()); in performQualifiedLookups()
4850 CurScopeSpec ? CurScopeSpec->getScopeRep() : nullptr) { in NamespaceSpecifierSet()
H A DSemaExprCXX.cpp58 NestedNameSpecifier *NNS = SS.getScopeRep(); in getInheritingConstructorName()
100 if (CurClass->isDependentContext() && !EnteringContext && SS.getScopeRep()) { in getConstructorName()
101 QualType T = Context.getDependentNameType(ETK_None, SS.getScopeRep(), &II); in getConstructorName()
334 SS.isSet() ? SS.getScopeRep()->getPrefix() : nullptr) { in getDestructorName()
394 if (SS.getScopeRep()->getPrefix()) { in getDestructorName()
516 switch (SS.getScopeRep()->getKind()) { in checkLiteralOperatorId()
525 << SS.getScopeRep(); in checkLiteralOperatorId()
H A DSemaDeclCXX.cpp4230 if (SS.getScopeRep() || TemplateTypeTy) in tryLookupCtorInitMemberDecl()
11760 Qualifier = SS.getScopeRep(); in ActOnUsingDirective()
11904 if (!SS.getScopeRep()->containsUnexpandedParameterPack() && in ActOnUsingDeclaration()
12752 NestedNameSpecifier *Qual = SS.getScopeRep(); in CheckUsingDeclRedeclaration()
12968 << SS.getScopeRep() << SS.getRange(); in CheckUsingDeclQualifier()
13005 << SS.getScopeRep() << cast<CXXRecordDecl>(CurContext) in CheckUsingDeclQualifier()
13051 << SS.getScopeRep() in CheckUsingDeclQualifier()
17307 } else if (!SS.getScopeRep()->isDependent()) { in ActOnFriendFunctionDecl()
17335 DB << SS.getScopeRep(); in ActOnFriendFunctionDecl()
17353 << SS.getScopeRep(); in ActOnFriendFunctionDecl()
[all …]
H A DSemaDecl.cpp373 << SS->getScopeRep() << II.getName() in getTypeName()
706 if (SS->getScopeRep()->getKind() == NestedNameSpecifier::Super) in isMicrosoftMissingTypename()
709 const Type *Ty = SS->getScopeRep()->getAsType(); in isMicrosoftMissingTypename()
813 else if (SS->isValid() && SS->getScopeRep()->containsErrors()) { in DiagnoseUnknownTypeName()
822 << SS->getScopeRep() << II->getName() in DiagnoseUnknownTypeName()
1160 Template = Context.getQualifiedTemplateName(SS.getScopeRep(), in ClassifyName()
6214 NestedNameSpecifierLoc SpecLoc(SS.getScopeRep(), SS.location_data()); in diagnoseQualifiedDeclaration()
6266 << D.getCXXScopeSpec().getScopeRep() in HandleDeclarator()
10441 (D.getCXXScopeSpec().getScopeRep()->isDependent() || in ActOnFunctionDeclarator()
H A DSemaType.cpp3964 for (NestedNameSpecifier *NNS = D.getCXXScopeSpec().getScopeRep(); NNS; in warnAboutRedundantParens()
5550 .getScopeRep() in GetFullTypeForDeclarator()
5597 NestedNameSpecifier *NNS = SS.getScopeRep(); in GetFullTypeForDeclarator()
9209 Keyword, SS.isValid() ? SS.getScopeRep() : nullptr, T, OwnedTagDecl); in getElaboratedType()
H A DTreeTransform.h4313 if (SS.getScopeRep() == NNS.getNestedNameSpecifier() && in TransformNestedNameSpecifierLoc()
4321 return NestedNameSpecifierLoc(SS.getScopeRep(), NNS.getOpaqueData()); in TransformNestedNameSpecifierLoc()
4410 SS.getScopeRep() == QTN->getQualifier() && in TransformTemplateName()
4419 if (SS.getScopeRep()) { in TransformTemplateName()
4426 SS.getScopeRep() == DTN->getQualifier() && in TransformTemplateName()
14990 return SemaRef.Context.getQualifiedTemplateName(SS.getScopeRep(), TemplateKW, in RebuildTemplateName()
H A DSemaExpr.cpp2613 DefaultFilterCCC DefaultValidator(II, SS.isValid() ? SS.getScopeRep() in ActOnIdExpression()
2622 CCC->setTypoNNS(SS.getScopeRep()); in ActOnIdExpression()
2784 D << SS.getScopeRep() << NameInfo.getName().getAsString() in BuildQualifiedDeclarationNameExpr()
H A DSemaCodeComplete.cpp6592 NestedNameSpecifier *NNS = SS.getScopeRep(); in CodeCompleteQualifiedId()
/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DDeclSpec.h78 NestedNameSpecifier *getScopeRep() const { in getScopeRep() function
191 bool isEmpty() const { return Range.isInvalid() && getScopeRep() == nullptr; } in isEmpty()
196 bool isInvalid() const { return Range.isValid() && getScopeRep() == nullptr; } in isInvalid()
198 bool isValid() const { return getScopeRep() != nullptr; } in isValid()
211 bool isSet() const { return getScopeRep() != nullptr; } in isSet()
/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseTentative.cpp1574 if (SS.getScopeRep() && SS.getScopeRep()->isDependent()) { in isCXXDeclarationSpecifier()
H A DParseDeclCXX.cpp646 !D.SS.getScopeRep()->getAsNamespace() && in ParseUsingDeclarator()
647 !D.SS.getScopeRep()->getAsNamespaceAlias()) { in ParseUsingDeclarator()