Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp80 NestedNameSpecifier *NNS = SS.getScopeRep(); in computeDeclContext()
172 return SS.getScopeRep()->isDependent(); in isDependentScopeSpecifier()
905 assert(DTN->getQualifier() == SS.getScopeRep()); in ActOnCXXNestedNameSpecifier()
991 Annotation->NNS = SS.getScopeRep(); in SaveNestedNameSpecifierAnnotation()
1017 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in ShouldEnterDeclaratorScope()
H A DSemaTemplateVariadic.cpp403 if (!SS.getScopeRep() || in DiagnoseUnexpandedParameterPack()
404 !SS.getScopeRep()->containsUnexpandedParameterPack()) in DiagnoseUnexpandedParameterPack()
409 .TraverseNestedNameSpecifier(SS.getScopeRep()); in DiagnoseUnexpandedParameterPack()
915 if (Chunk.Mem.Scope().getScopeRep() && in containsUnexpandedParameterPacks()
916 Chunk.Mem.Scope().getScopeRep()->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
H A DSemaExprMember.cpp1297 << 1 << SS.getScopeRep() in LookupMemberExpr()
1460 << 0 << SS.getScopeRep() << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr()
1696 = (!SS.isSet() ? nullptr : FindFirstQualifierInScope(S, SS.getScopeRep())); in ActOnMemberAccessExpr()
1790 ExprResult Base = PerformObjectMemberConversion(BaseExpr, SS.getScopeRep(), in BuildFieldReferenceExpr()
H A DSemaTemplate.cpp231 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in isTemplateName()
625 if (NestedNameSpecifier *NNS = SS.getScopeRep()) in ActOnDependentIdExpression()
1306 << SS.getScopeRep() << SS.getRange(); in CheckClassTemplate()
2560 if (SS.getScopeRep()) { in MatchTemplateParametersToScopeSpecifier()
2565 T = QualType(SS.getScopeRep()->getAsType(), 0); in MatchTemplateParametersToScopeSpecifier()
3349 << SS.getScopeRep() << TemplateII->getName(); in ActOnTemplateIdType()
4198 << SS.getScopeRep() in BuildQualifiedTemplateIdExpr()
4295 NestedNameSpecifier *Qualifier = SS.getScopeRep(); in ActOnDependentTemplateName()
8609 for (NestedNameSpecifier *NNS = SS.getScopeRep(); NNS; in ScopeSpecifierHasTemplateId()
9439 NestedNameSpecifier *NNS = SS.getScopeRep(); in ActOnDependentTag()
[all …]
H A DSemaLookup.cpp2232 auto *NNS = SS.getScopeRep(); in LookupQualifiedName()
2268 NestedNameSpecifier *NNS = SS->getScopeRep(); in LookupParsedName()
4050 (SS && SS->isValid()) ? SS->getScopeRep() : nullptr) { in addNamespaces()
4194 SS->getScopeRep()->print(OldOStream, SemaRef.getPrintingPolicy()); in performQualifiedLookups()
4231 CurScopeSpec ? CurScopeSpec->getScopeRep() : nullptr) { in NamespaceSpecifierSet()
H A DSemaDeclCXX.cpp3806 if (SS.getScopeRep() || TemplateTypeTy) in tryLookupCtorInitMemberDecl()
9374 Qualifier = SS.getScopeRep(); in ActOnUsingDirective()
9518 if (!SS.getScopeRep()->containsUnexpandedParameterPack() && in ActOnUsingDeclaration()
10222 NestedNameSpecifier *Qual = SS.getScopeRep(); in CheckUsingDeclRedeclaration()
10403 << SS.getScopeRep() << SS.getRange(); in CheckUsingDeclQualifier()
10429 << SS.getScopeRep() in CheckUsingDeclQualifier()
10476 << SS.getScopeRep() in CheckUsingDeclQualifier()
14416 } else if (!SS.getScopeRep()->isDependent()) { in ActOnFriendFunctionDecl()
14444 DB << SS.getScopeRep(); in ActOnFriendFunctionDecl()
14462 << SS.getScopeRep(); in ActOnFriendFunctionDecl()
[all …]
H A DSemaExprCXX.cpp52 NestedNameSpecifier *NNS = SS.getScopeRep(); in getInheritingConstructorName()
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()
H A DSemaType.cpp3343 for (NestedNameSpecifier *NNS = D.getCXXScopeSpec().getScopeRep(); NNS; in warnAboutRedundantParens()
4835 Spec.getScopeRep()->getKind() == NestedNameSpecifier::TypeSpec) || in GetFullTypeForDeclarator()
4863 NestedNameSpecifier *NNS = SS.getScopeRep(); in GetFullTypeForDeclarator()
8050 NNS = SS.getScopeRep(); in getElaboratedType()
H A DTreeTransform.h3659 if (SS.getScopeRep() == NNS.getNestedNameSpecifier() && in TransformNestedNameSpecifierLoc()
3667 return NestedNameSpecifierLoc(SS.getScopeRep(), NNS.getOpaqueData()); in TransformNestedNameSpecifierLoc()
3756 SS.getScopeRep() == QTN->getQualifier() && in TransformTemplateName()
3765 if (SS.getScopeRep()) { in TransformTemplateName()
3772 SS.getScopeRep() == DTN->getQualifier() && in TransformTemplateName()
12636 return SemaRef.Context.getQualifiedTemplateName(SS.getScopeRep(), TemplateKW, in RebuildTemplateName()
H A DSemaDecl.cpp640 if (SS->getScopeRep()->getKind() == NestedNameSpecifier::Super) in isMicrosoftMissingTypename()
643 const Type *Ty = SS->getScopeRep()->getAsType(); in isMicrosoftMissingTypename()
752 << SS->getScopeRep() << II->getName() in DiagnoseUnknownTypeName()
1070 Template = Context.getQualifiedTemplateName(SS.getScopeRep(), in ClassifyName()
5301 NestedNameSpecifierLoc SpecLoc(SS.getScopeRep(), SS.location_data()); in diagnoseQualifiedDeclaration()
5353 << D.getCXXScopeSpec().getScopeRep() in HandleDeclarator()
9033 (D.getCXXScopeSpec().getScopeRep()->isDependent() || in ActOnFunctionDeclarator()
H A DSemaExpr.cpp2193 II, SS.isValid() ? SS.getScopeRep() : nullptr); in ActOnIdExpression()
2201 CCC->setTypoNNS(SS.getScopeRep()); in ActOnIdExpression()
2353 D << SS.getScopeRep() << NameInfo.getName().getAsString() in BuildQualifiedDeclarationNameExpr()
H A DSemaCodeComplete.cpp4999 NestedNameSpecifier *NNS = SS.getScopeRep(); in CodeCompleteQualifiedId()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DDeclSpec.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-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseTentative.cpp1478 if (SS.getScopeRep() && SS.getScopeRep()->isDependent()) { in isCXXDeclarationSpecifier()
H A DParseDeclCXX.cpp615 !D.SS.getScopeRep()->getAsNamespace() && in ParseUsingDeclarator()
616 !D.SS.getScopeRep()->getAsNamespaceAlias()) { in ParseUsingDeclarator()