Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCXXScopeSpec.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()
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()
360 NestedNameSpecifier *Qualifier = (NestedNameSpecifier*)SS->getScopeRep(); in DiagnoseUnknownTemplateName()
746 if (NestedNameSpecifier *NNS = SS.getScopeRep()) in ActOnDependentIdExpression()
1000 Name = Context.getQualifiedTemplateName(SS.getScopeRep(), in ActOnTemplateTypeArgument()
1755 << SS.getScopeRep() << SS.getRange(); in CheckClassTemplate()
3008 NestedNameSpecifierLoc NNSLoc(SS.getScopeRep(), SS.location_data()); in getRangeOfTypeInNestedNameSpecifier()
3068 if (SS.getScopeRep()) { in MatchTemplateParametersToScopeSpecifier()
3073 T = QualType(SS.getScopeRep()->getAsType(), 0); in MatchTemplateParametersToScopeSpecifier()
3924 << SS.getScopeRep() << TemplateII->getName(); in ActOnTemplateIdType()
3999 Result = Context.getElaboratedType(ETK_None, SS.getScopeRep(), Result); in ActOnTemplateIdType()
[all …]
H A DSemaExprMember.cpp1311 << 1 << SS.getScopeRep() in LookupMemberExpr()
1474 << 0 << SS.getScopeRep() << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr()
1710 = (!SS.isSet() ? nullptr : FindFirstQualifierInScope(S, SS.getScopeRep())); in ActOnMemberAccessExpr()
1826 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()
4329 (SS && SS->isValid()) ? SS->getScopeRep() : nullptr) { in addNamespaces()
4473 SS->getScopeRep()->print(OldOStream, SemaRef.getPrintingPolicy()); in performQualifiedLookups()
4510 CurScopeSpec ? CurScopeSpec->getScopeRep() : nullptr) { in NamespaceSpecifierSet()
H A DSemaDeclCXX.cpp4146 if (SS.getScopeRep() || TemplateTypeTy) in tryLookupCtorInitMemberDecl()
4310 BaseType = Context.getElaboratedType(ETK_None, SS.getScopeRep(), in BuildMemInitializer()
11455 Qualifier = SS.getScopeRep(); in ActOnUsingDirective()
11599 if (!SS.getScopeRep()->containsUnexpandedParameterPack() && in ActOnUsingDeclaration()
12142 UsingValidatorCCC CCC(HasTypenameKeyword, IsInstantiation, SS.getScopeRep(), in BuildUsingDeclaration()
12306 NestedNameSpecifier *Qual = SS.getScopeRep(); in CheckUsingDeclRedeclaration()
12487 << SS.getScopeRep() << SS.getRange(); in CheckUsingDeclQualifier()
12513 << SS.getScopeRep() in CheckUsingDeclQualifier()
12560 << SS.getScopeRep() in CheckUsingDeclQualifier()
16358 << SS.getScopeRep() << SS.getRange() << cast<CXXRecordDecl>(CurContext); in ActOnTemplatedFriendTag()
[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()
493 switch (SS.getScopeRep()->getKind()) { in checkLiteralOperatorId()
502 << SS.getScopeRep(); in checkLiteralOperatorId()
H A DSemaType.cpp3797 for (NestedNameSpecifier *NNS = D.getCXXScopeSpec().getScopeRep(); NNS; in warnAboutRedundantParens()
5347 .getScopeRep() in GetFullTypeForDeclarator()
5394 NestedNameSpecifier *NNS = SS.getScopeRep(); in GetFullTypeForDeclarator()
8845 NNS = SS.getScopeRep(); in getElaboratedType()
H A DSemaDecl.cpp644 if (SS->getScopeRep()->getKind() == NestedNameSpecifier::Super) in isMicrosoftMissingTypename()
647 const Type *Ty = SS->getScopeRep()->getAsType(); in isMicrosoftMissingTypename()
751 else if (SS->isValid() && SS->getScopeRep()->containsErrors()) { in DiagnoseUnknownTypeName()
760 << SS->getScopeRep() << II->getName() in DiagnoseUnknownTypeName()
1104 Context.getQualifiedTemplateName(SS.getScopeRep(), in ClassifyName()
5698 NestedNameSpecifierLoc SpecLoc(SS.getScopeRep(), SS.location_data()); in diagnoseQualifiedDeclaration()
5750 << D.getCXXScopeSpec().getScopeRep() in HandleDeclarator()
9732 (D.getCXXScopeSpec().getScopeRep()->isDependent() || in ActOnFunctionDeclarator()
H A DTreeTransform.h4127 if (SS.getScopeRep() == NNS.getNestedNameSpecifier() && in TransformNestedNameSpecifierLoc()
4135 return NestedNameSpecifierLoc(SS.getScopeRep(), NNS.getOpaqueData()); in TransformNestedNameSpecifierLoc()
4224 SS.getScopeRep() == QTN->getQualifier() && in TransformTemplateName()
4233 if (SS.getScopeRep()) { in TransformTemplateName()
4240 SS.getScopeRep() == DTN->getQualifier() && in TransformTemplateName()
14439 return SemaRef.Context.getQualifiedTemplateName(SS.getScopeRep(), TemplateKW, in RebuildTemplateName()
H A DSemaExpr.cpp2545 DefaultFilterCCC DefaultValidator(II, SS.isValid() ? SS.getScopeRep() in ActOnIdExpression()
2554 CCC->setTypoNNS(SS.getScopeRep()); in ActOnIdExpression()
2712 D << SS.getScopeRep() << NameInfo.getName().getAsString() in BuildQualifiedDeclarationNameExpr()
H A DSemaCodeComplete.cpp6051 NestedNameSpecifier *NNS = SS.getScopeRep(); in CodeCompleteQualifiedId()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseTentative.cpp1506 if (SS.getScopeRep() && SS.getScopeRep()->isDependent()) { in isCXXDeclarationSpecifier()
H A DParseDeclCXX.cpp632 !D.SS.getScopeRep()->getAsNamespace() && in ParseUsingDeclarator()
633 !D.SS.getScopeRep()->getAsNamespaceAlias()) { in ParseUsingDeclarator()