Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaCXXScopeSpec.cpp79 NestedNameSpecifier *NNS = SS.getScopeRep(); in computeDeclContext()
171 return SS.getScopeRep()->isDependent(); in isDependentScopeSpecifier()
911 assert(DTN->getQualifier() == SS.getScopeRep()); in ActOnCXXNestedNameSpecifier()
1002 Annotation->NNS = SS.getScopeRep(); in SaveNestedNameSpecifierAnnotation()
1028 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in ShouldEnterDeclaratorScope()
HDSemaTemplateVariadic.cpp416 if (!SS.getScopeRep() || in DiagnoseUnexpandedParameterPack()
417 !SS.getScopeRep()->containsUnexpandedParameterPack()) in DiagnoseUnexpandedParameterPack()
422 .TraverseNestedNameSpecifier(SS.getScopeRep()); in DiagnoseUnexpandedParameterPack()
933 if (Chunk.Mem.Scope().getScopeRep() && in containsUnexpandedParameterPacks()
934 Chunk.Mem.Scope().getScopeRep()->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
HDSemaExprMember.cpp1326 << 1 << SS.getScopeRep() in LookupMemberExpr()
1489 << 0 << SS.getScopeRep() << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr()
1725 = (!SS.isSet() ? nullptr : FindFirstQualifierInScope(S, SS.getScopeRep())); in ActOnMemberAccessExpr()
1819 ExprResult Base = PerformObjectMemberConversion(BaseExpr, SS.getScopeRep(), in BuildFieldReferenceExpr()
HDSemaTemplate.cpp284 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in isTemplateName()
359 NestedNameSpecifier *Qualifier = (NestedNameSpecifier*)SS->getScopeRep(); in DiagnoseUnknownTemplateName()
739 if (NestedNameSpecifier *NNS = SS.getScopeRep()) in ActOnDependentIdExpression()
994 Name = Context.getQualifiedTemplateName(SS.getScopeRep(), in ActOnTemplateTypeArgument()
1611 << SS.getScopeRep() << SS.getRange(); in CheckClassTemplate()
2818 NestedNameSpecifierLoc NNSLoc(SS.getScopeRep(), SS.location_data()); in getRangeOfTypeInNestedNameSpecifier()
2878 if (SS.getScopeRep()) { in MatchTemplateParametersToScopeSpecifier()
2883 T = QualType(SS.getScopeRep()->getAsType(), 0); in MatchTemplateParametersToScopeSpecifier()
3726 << SS.getScopeRep() << TemplateII->getName(); in ActOnTemplateIdType()
3801 Result = Context.getElaboratedType(ETK_None, SS.getScopeRep(), Result); in ActOnTemplateIdType()
[all …]
HDSemaLookup.cpp2460 auto *NNS = SS.getScopeRep(); in LookupQualifiedName()
2496 NestedNameSpecifier *NNS = SS->getScopeRep(); in LookupParsedName()
4323 (SS && SS->isValid()) ? SS->getScopeRep() : nullptr) { in addNamespaces()
4467 SS->getScopeRep()->print(OldOStream, SemaRef.getPrintingPolicy()); in performQualifiedLookups()
4504 CurScopeSpec ? CurScopeSpec->getScopeRep() : nullptr) { in NamespaceSpecifierSet()
HDSemaDeclCXX.cpp4059 if (SS.getScopeRep() || TemplateTypeTy) in tryLookupCtorInitMemberDecl()
4227 BaseType = Context.getElaboratedType(ETK_None, SS.getScopeRep(), in BuildMemInitializer()
11050 Qualifier = SS.getScopeRep(); in ActOnUsingDirective()
11194 if (!SS.getScopeRep()->containsUnexpandedParameterPack() && in ActOnUsingDeclaration()
11738 UsingValidatorCCC CCC(HasTypenameKeyword, IsInstantiation, SS.getScopeRep(), in BuildUsingDeclaration()
11902 NestedNameSpecifier *Qual = SS.getScopeRep(); in CheckUsingDeclRedeclaration()
12083 << SS.getScopeRep() << SS.getRange(); in CheckUsingDeclQualifier()
12109 << SS.getScopeRep() in CheckUsingDeclQualifier()
12156 << SS.getScopeRep() in CheckUsingDeclQualifier()
15883 << SS.getScopeRep() << SS.getRange() << cast<CXXRecordDecl>(CurContext); in ActOnTemplatedFriendTag()
[all …]
HDSemaExprCXX.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()
176 NestedNameSpecifier *NNS = SS.getScopeRep(); in getDestructorName()
414 switch (SS.getScopeRep()->getKind()) { in checkLiteralOperatorId()
423 << SS.getScopeRep(); in checkLiteralOperatorId()
HDSemaType.cpp3547 for (NestedNameSpecifier *NNS = D.getCXXScopeSpec().getScopeRep(); NNS; in warnAboutRedundantParens()
5069 .getScopeRep() in GetFullTypeForDeclarator()
5116 NestedNameSpecifier *NNS = SS.getScopeRep(); in GetFullTypeForDeclarator()
8378 NNS = SS.getScopeRep(); in getElaboratedType()
HDSemaDecl.cpp644 if (SS->getScopeRep()->getKind() == NestedNameSpecifier::Super) in isMicrosoftMissingTypename()
647 const Type *Ty = SS->getScopeRep()->getAsType(); in isMicrosoftMissingTypename()
757 << SS->getScopeRep() << II->getName() in DiagnoseUnknownTypeName()
1101 Context.getQualifiedTemplateName(SS.getScopeRep(), in ClassifyName()
5530 NestedNameSpecifierLoc SpecLoc(SS.getScopeRep(), SS.location_data()); in diagnoseQualifiedDeclaration()
5582 << D.getCXXScopeSpec().getScopeRep() in HandleDeclarator()
9423 (D.getCXXScopeSpec().getScopeRep()->isDependent() || in ActOnFunctionDeclarator()
HDTreeTransform.h3852 if (SS.getScopeRep() == NNS.getNestedNameSpecifier() && in TransformNestedNameSpecifierLoc()
3860 return NestedNameSpecifierLoc(SS.getScopeRep(), NNS.getOpaqueData()); in TransformNestedNameSpecifierLoc()
3949 SS.getScopeRep() == QTN->getQualifier() && in TransformTemplateName()
3958 if (SS.getScopeRep()) { in TransformTemplateName()
3965 SS.getScopeRep() == DTN->getQualifier() && in TransformTemplateName()
13445 return SemaRef.Context.getQualifiedTemplateName(SS.getScopeRep(), TemplateKW, in RebuildTemplateName()
HDSemaExpr.cpp2401 DefaultFilterCCC DefaultValidator(II, SS.isValid() ? SS.getScopeRep() in ActOnIdExpression()
2410 CCC->setTypoNNS(SS.getScopeRep()); in ActOnIdExpression()
2561 D << SS.getScopeRep() << NameInfo.getName().getAsString() in BuildQualifiedDeclarationNameExpr()
HDSemaCodeComplete.cpp5412 NestedNameSpecifier *NNS = SS.getScopeRep(); in CodeCompleteQualifiedId()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
HDDeclSpec.h76 NestedNameSpecifier *getScopeRep() const { in getScopeRep() function
194 bool isInvalid() const { return isNotEmpty() && getScopeRep() == nullptr; } in isInvalid()
196 bool isValid() const { return isNotEmpty() && getScopeRep() != nullptr; } in isValid()
209 bool isSet() const { return getScopeRep() != nullptr; } in isSet()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
HDParseTentative.cpp1560 if (SS.getScopeRep() && SS.getScopeRep()->isDependent()) { in isCXXDeclarationSpecifier()
HDParseDeclCXX.cpp627 !D.SS.getScopeRep()->getAsNamespace() && in ParseUsingDeclarator()
628 !D.SS.getScopeRep()->getAsNamespaceAlias()) { in ParseUsingDeclarator()