Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp59 NestedNameSpecifier *NNS = SS.getScopeRep(); in computeDeclContext()
170 return SS.getScopeRep()->isDependent(); in isDependentScopeSpecifier()
869 assert(DTN->getQualifier() == SS.getScopeRep()); in ActOnCXXNestedNameSpecifier()
959 Annotation->NNS = SS.getScopeRep(); in SaveNestedNameSpecifierAnnotation()
985 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in ShouldEnterDeclaratorScope()
H A DSemaTemplateVariadic.cpp458 if (!SS.getScopeRep() || in DiagnoseUnexpandedParameterPack()
459 !SS.getScopeRep()->containsUnexpandedParameterPack()) in DiagnoseUnexpandedParameterPack()
464 .TraverseNestedNameSpecifier(SS.getScopeRep()); in DiagnoseUnexpandedParameterPack()
986 if (Chunk.Mem.Scope().getScopeRep() && in containsUnexpandedParameterPacks()
987 Chunk.Mem.Scope().getScopeRep()->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
H A DSemaExprMember.cpp990 (SS.isSet() ? SS.getScopeRep()->isDependent() in BuildMemberReferenceExpr()
1375 << 1 << SS.getScopeRep() in LookupMemberExpr()
1537 << 0 << SS.getScopeRep() << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr()
1774 = (!SS.isSet() ? nullptr : FindFirstQualifierInScope(S, SS.getScopeRep())); in ActOnMemberAccessExpr()
1883 ExprResult Base = PerformObjectMemberConversion(BaseExpr, SS.getScopeRep(), in BuildFieldReferenceExpr()
H A DSemaTemplate.cpp297 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in isTemplateName()
348 SS.getScopeRep(), /*TemplateKeyword=*/false, TemplateName(TD)); in isDeductionGuideName()
369 NestedNameSpecifier *Qualifier = (NestedNameSpecifier*)SS->getScopeRep(); in DiagnoseUnknownTemplateName()
1839 << SS.getScopeRep() << SS.getRange(); in CheckClassTemplate()
2661 NestedNameSpecifierLoc NNSLoc(SS.getScopeRep(), SS.location_data()); in getRangeOfTypeInNestedNameSpecifier()
2688 if (SS.getScopeRep()) { in MatchTemplateParametersToScopeSpecifier()
2693 T = QualType(SS.getScopeRep()->getAsType(), 0); in MatchTemplateParametersToScopeSpecifier()
3579 << SS.getScopeRep() << TemplateII->getName() in ActOnTemplateIdType()
3583 << SS.getScopeRep() << TemplateII->getName(); in ActOnTemplateIdType()
3618 assert(SS.getScopeRep() == DTN->getQualifier()); in ActOnTemplateIdType()
[all …]
H A DSemaLookup.cpp2668 auto *NNS = SS.getScopeRep(); in LookupQualifiedName()
2708 if (NestedNameSpecifier *NNS = SS->getScopeRep(); in LookupParsedName()
4618 (SS && SS->isValid()) ? SS->getScopeRep() : nullptr) { in addNamespaces()
4762 SS->getScopeRep()->print(OldOStream, SemaRef.getPrintingPolicy()); in performQualifiedLookups()
4799 CurScopeSpec ? CurScopeSpec->getScopeRep() : nullptr) { in NamespaceSpecifierSet()
H A DSemaExprCXX.cpp61 NestedNameSpecifier *NNS = SS.getScopeRep(); in getInheritingConstructorName()
102 if (CurClass->isDependentContext() && !EnteringContext && SS.getScopeRep()) { in getConstructorName()
104 SS.getScopeRep(), &II); in getConstructorName()
336 SS.isSet() ? SS.getScopeRep()->getPrefix() : nullptr) { in getDestructorName()
396 if (SS.isValid() && SS.getScopeRep()->getPrefix()) { in getDestructorName()
521 switch (SS.getScopeRep()->getKind()) { in checkLiteralOperatorId()
530 << SS.getScopeRep(); in checkLiteralOperatorId()
H A DSemaDeclCXX.cpp4275 if (SS.getScopeRep() || TemplateTypeTy) in tryLookupCtorInitMemberDecl()
12113 Qualifier = SS.getScopeRep(); in ActOnUsingDirective()
12259 if (!SS.getScopeRep()->containsUnexpandedParameterPack() && in ActOnUsingDeclaration()
12856 UsingValidatorCCC CCC(HasTypenameKeyword, IsInstantiation, SS.getScopeRep(), in BuildUsingDeclaration()
13066 NestedNameSpecifier *Qual = SS.getScopeRep(); in CheckUsingDeclRedeclaration()
13275 << SS.getScopeRep() << SS.getRange(); in CheckUsingDeclQualifier()
13312 << SS.getScopeRep() << cast<CXXRecordDecl>(CurContext) in CheckUsingDeclQualifier()
13358 << SS.getScopeRep() in CheckUsingDeclQualifier()
17486 << SS.getScopeRep() << SS.getRange() << cast<CXXRecordDecl>(CurContext); in ActOnTemplatedFriendTag()
17488 QualType T = Context.getDependentNameType(ETK, SS.getScopeRep(), Nam in ActOnTemplatedFriendTag()
[all...]
H A DSemaDecl.cpp332 << SS->getScopeRep() << II.getName() in getTypeName()
441 SS->getScopeRep(), &II); in getTypeName()
537 SS ? SS->getScopeRep() : nullptr, /*TemplateKeyword=*/false, in getTypeName()
665 if (SS->getScopeRep()->getKind() == NestedNameSpecifier::Super) in isMicrosoftMissingTypename()
668 const Type *Ty = SS->getScopeRep()->getAsType(); in isMicrosoftMissingTypename()
772 else if (SS->isValid() && SS->getScopeRep()->containsErrors()) { in DiagnoseUnknownTypeName()
781 << SS->getScopeRep() << II->getName() in DiagnoseUnknownTypeName()
1118 SS.getScopeRep(), in ClassifyName()
6168 NestedNameSpecifierLoc SpecLoc(SS.getScopeRep(), SS.location_data()); in diagnoseQualifiedDeclaration()
6237 << D.getCXXScopeSpec().getScopeRep() in HandleDeclarator()
[all …]
H A DSemaType.cpp3601 for (NestedNameSpecifier *NNS = D.getCXXScopeSpec().getScopeRep(); NNS; in warnAboutRedundantParens()
5245 .getScopeRep() in GetFullTypeForDeclarator()
5292 NestedNameSpecifier *NNS = SS.getScopeRep(); in GetFullTypeForDeclarator()
9354 Keyword, SS.isValid() ? SS.getScopeRep() : nullptr, T, OwnedTagDecl); in getElaboratedType()
H A DTreeTransform.h4485 if (SS.getScopeRep() == NNS.getNestedNameSpecifier() && in TransformNestedNameSpecifierLoc()
4493 return NestedNameSpecifierLoc(SS.getScopeRep(), NNS.getOpaqueData()); in TransformNestedNameSpecifierLoc()
4582 SS.getScopeRep() == QTN->getQualifier() && in TransformTemplateName()
4591 if (SS.getScopeRep()) { in TransformTemplateName()
4598 SS.getScopeRep() == DTN->getQualifier() && in TransformTemplateName()
16303 return SemaRef.Context.getQualifiedTemplateName(SS.getScopeRep(), TemplateKW, in RebuildTemplateName()
H A DSemaExpr.cpp2766 DefaultFilterCCC DefaultValidator(II, SS.isValid() ? SS.getScopeRep() in ActOnIdExpression()
2775 CCC->setTypoNNS(SS.getScopeRep()); in ActOnIdExpression()
2906 D << SS.getScopeRep() << NameInfo.getName().getAsString() in BuildQualifiedDeclarationNameExpr()
H A DSemaCodeComplete.cpp6731 NestedNameSpecifier *NNS = SS.getScopeRep(); in CodeCompleteQualifiedId()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h95 NestedNameSpecifier *getScopeRep() const { in getScopeRep() function
208 bool isEmpty() const { return Range.isInvalid() && getScopeRep() == nullptr; } in isEmpty()
213 bool isInvalid() const { return Range.isValid() && getScopeRep() == nullptr; } in isInvalid()
215 bool isValid() const { return getScopeRep() != nullptr; } in isValid()
228 bool isSet() const { return getScopeRep() != nullptr; } in isSet()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseTentative.cpp1662 if (SS.getScopeRep() && SS.getScopeRep()->isDependent()) { in isCXXDeclarationSpecifier()
H A DParseDeclCXX.cpp659 !D.SS.getScopeRep()->getAsNamespace() && in ParseUsingDeclarator()
660 !D.SS.getScopeRep()->getAsNamespaceAlias()) { in ParseUsingDeclarator()