• Home
  • Raw
  • Download

Lines Matching refs:SS

197                                       const CXXScopeSpec &SS,  in diagnoseInstanceReference()  argument
202 if (SS.isSet()) Range.setBegin(SS.getRange().getBegin()); in diagnoseInstanceReference()
219 else if (ContextClass && RepClass && SS.isEmpty() && !InStaticMethod && in diagnoseInstanceReference()
235 Sema::BuildPossibleImplicitMemberExpr(const CXXScopeSpec &SS, in BuildPossibleImplicitMemberExpr() argument
242 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, true, S); in BuildPossibleImplicitMemberExpr()
247 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, false, in BuildPossibleImplicitMemberExpr()
259 return BuildTemplateIdExpr(SS, TemplateKWLoc, R, false, TemplateArgs); in BuildPossibleImplicitMemberExpr()
260 return BuildDeclarationNameExpr(SS, R, false); in BuildPossibleImplicitMemberExpr()
264 diagnoseInstanceReference(*this, SS, R.getRepresentativeDecl(), in BuildPossibleImplicitMemberExpr()
459 const CXXScopeSpec &SS, in ActOnDependentMemberExpr() argument
486 isDependentScopeSpecifier(SS)); in ActOnDependentMemberExpr()
492 SS.getWithLocInContext(Context), TemplateKWLoc, FirstQualifierInScope, in ActOnDependentMemberExpr()
502 const CXXScopeSpec &SS, in DiagnoseQualifiedMemberReference() argument
508 return diagnoseInstanceReference(SemaRef, SS, rep, nameInfo); in DiagnoseQualifiedMemberReference()
511 << SS.getRange() << rep << BaseType; in DiagnoseQualifiedMemberReference()
528 const CXXScopeSpec &SS, in CheckQualifiedMemberReference() argument
559 DiagnoseQualifiedMemberReference(*this, BaseExpr, BaseType, SS, in CheckQualifiedMemberReference()
618 CXXScopeSpec &SS, bool HasTemplateArgs, in LookupMemberExprInRecord() argument
630 QualType ObjectType = SS.isSet() ? QualType() : QualType(RTy, 0); in LookupMemberExprInRecord()
633 SemaRef.LookupTemplateName(R, nullptr, SS, ObjectType, false, MOUS); in LookupMemberExprInRecord()
638 if (SS.isSet()) { in LookupMemberExprInRecord()
641 DC = SemaRef.computeDeclContext(SS, false); in LookupMemberExprInRecord()
643 if (SemaRef.RequireCompleteDeclContext(SS, DC)) { in LookupMemberExprInRecord()
644 SemaRef.Diag(SS.getRange().getEnd(), diag::err_typecheck_incomplete_tag) in LookupMemberExprInRecord()
645 << SS.getRange() << DC; in LookupMemberExprInRecord()
653 << DC << SS.getRange(); in LookupMemberExprInRecord()
659 SemaRef.LookupQualifiedName(R, DC, SS); in LookupMemberExprInRecord()
677 R.getLookupNameInfo(), R.getLookupKind(), nullptr, &SS, in LookupMemberExprInRecord()
688 << SS.getRange()); in LookupMemberExprInRecord()
702 BaseExpr, BaseExpr->getType(), OpLoc, IsArrow, SS, SourceLocation(), in LookupMemberExprInRecord()
712 SourceLocation OpLoc, CXXScopeSpec &SS,
718 CXXScopeSpec &SS, in BuildMemberReferenceExpr() argument
726 (SS.isSet() && isDependentScopeSpecifier(SS))) in BuildMemberReferenceExpr()
729 SS, TemplateKWLoc, FirstQualifierInScope, in BuildMemberReferenceExpr()
741 SS, TemplateArgs != nullptr, TE)) in BuildMemberReferenceExpr()
750 *this, R, BaseResult, IsArrow, OpLoc, SS, in BuildMemberReferenceExpr()
769 OpLoc, IsArrow, SS, TemplateKWLoc, in BuildMemberReferenceExpr()
776 SourceLocation OpLoc, const CXXScopeSpec &SS,
781 Sema::BuildAnonymousStructUnionMemberReference(const CXXScopeSpec &SS, in BuildAnonymousStructUnionMemberReference() argument
887 SourceLocation(), (FI == FEnd ? SS : EmptySS), in BuildAnonymousStructUnionMemberReference()
896 const CXXScopeSpec &SS, in BuildMSPropertyRefExpr() argument
903 SS.getWithLocInContext(S.Context), in BuildMSPropertyRefExpr()
910 SourceLocation OpLoc, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, in BuildMemberExpr() argument
916 C, Base, isArrow, OpLoc, SS.getWithLocInContext(C), TemplateKWLoc, Member, in BuildMemberExpr()
963 const CXXScopeSpec &SS, in BuildMemberReferenceExpr() argument
1006 if (SS.getRange().isValid()) in BuildMemberReferenceExpr()
1007 Loc = SS.getRange().getBegin(); in BuildMemberReferenceExpr()
1045 DeclContext *DC = (SS.isSet() in BuildMemberReferenceExpr()
1046 ? computeDeclContext(SS, false) in BuildMemberReferenceExpr()
1059 CXXScopeSpec TempSS(SS); in BuildMemberReferenceExpr()
1087 if ((SS.isSet() || !BaseExpr || in BuildMemberReferenceExpr()
1091 CheckQualifiedMemberReference(BaseExpr, BaseType, SS, R)) in BuildMemberReferenceExpr()
1105 SS.getWithLocInContext(Context), in BuildMemberReferenceExpr()
1141 return BuildDeclarationNameExpr(SS, R.getLookupNameInfo(), MemberDecl, in BuildMemberReferenceExpr()
1145 if (SS.getRange().isValid()) in BuildMemberReferenceExpr()
1146 Loc = SS.getRange().getBegin(); in BuildMemberReferenceExpr()
1156 return BuildFieldReferenceExpr(*this, BaseExpr, IsArrow, OpLoc, SS, FD, in BuildMemberReferenceExpr()
1160 return BuildMSPropertyRefExpr(*this, BaseExpr, IsArrow, SS, PD, in BuildMemberReferenceExpr()
1166 return BuildAnonymousStructUnionMemberReference(SS, MemberLoc, FD, in BuildMemberReferenceExpr()
1171 return BuildMemberExpr(*this, Context, BaseExpr, IsArrow, OpLoc, SS, in BuildMemberReferenceExpr()
1188 return BuildMemberExpr(*this, Context, BaseExpr, IsArrow, OpLoc, SS, in BuildMemberReferenceExpr()
1195 return BuildMemberExpr(*this, Context, BaseExpr, IsArrow, OpLoc, SS, in BuildMemberReferenceExpr()
1202 return BuildMemberExpr(*this, Context, BaseExpr, IsArrow, OpLoc, SS, in BuildMemberReferenceExpr()
1285 SourceLocation OpLoc, CXXScopeSpec &SS, in LookupMemberExpr() argument
1337 OpLoc, IsArrow, SS, HasTemplateArgs, TE)) in LookupMemberExpr()
1349 if (!SS.isEmpty() && !SS.isInvalid()) { in LookupMemberExpr()
1350 S.Diag(SS.getRange().getBegin(), diag::err_qualified_objc_access) in LookupMemberExpr()
1351 << 1 << SS.getScopeRep() in LookupMemberExpr()
1352 << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr()
1353 SS.clear(); in LookupMemberExpr()
1374 return LookupMemberExpr(S, R, BaseExpr, IsArrow, OpLoc, SS, in LookupMemberExpr()
1506 if (!SS.isEmpty() && !SS.isInvalid()) { in LookupMemberExpr()
1507 S.Diag(SS.getRange().getBegin(), diag::err_qualified_objc_access) in LookupMemberExpr()
1508 << 0 << SS.getScopeRep() << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr()
1509 SS.clear(); in LookupMemberExpr()
1562 return LookupMemberExpr(S, R, BaseExpr, IsArrow, OpLoc, SS, in LookupMemberExpr()
1575 return LookupMemberExpr(S, R, BaseExpr, IsArrow, OpLoc, SS, in LookupMemberExpr()
1614 return LookupMemberExpr(S, R, BaseExpr, IsArrow, OpLoc, SS, in LookupMemberExpr()
1655 return LookupMemberExpr(S, R, BaseExpr, IsArrow, OpLoc, SS, in LookupMemberExpr()
1678 return LookupMemberExpr(S, R, BaseExpr, IsArrow, OpLoc, SS, in LookupMemberExpr()
1692 return LookupMemberExpr(S, R, BaseExpr, IsArrow, OpLoc, SS, in LookupMemberExpr()
1715 CXXScopeSpec &SS, in ActOnMemberAccessExpr() argument
1719 if (SS.isSet() && SS.isInvalid()) in ActOnMemberAccessExpr()
1740 = (!SS.isSet() ? nullptr : FindFirstQualifierInScope(S, SS.getScopeRep())); in ActOnMemberAccessExpr()
1748 isDependentScopeSpecifier(SS)) { in ActOnMemberAccessExpr()
1749 return ActOnDependentMemberExpr(Base, Base->getType(), IsArrow, OpLoc, SS, in ActOnMemberAccessExpr()
1755 return BuildMemberReferenceExpr(Base, Base->getType(), OpLoc, IsArrow, SS, in ActOnMemberAccessExpr()
1762 SourceLocation OpLoc, const CXXScopeSpec &SS, in BuildFieldReferenceExpr() argument
1812 S.PerformObjectMemberConversion(BaseExpr, SS.getScopeRep(), in BuildFieldReferenceExpr()
1817 BuildMemberExpr(S, S.Context, Base.get(), IsArrow, OpLoc, SS, in BuildFieldReferenceExpr()
1837 Sema::BuildImplicitMemberExpr(const CXXScopeSpec &SS, in BuildImplicitMemberExpr() argument
1855 if (SS.getRange().isValid()) in BuildImplicitMemberExpr()
1856 Loc = SS.getRange().getBegin(); in BuildImplicitMemberExpr()
1864 SS, TemplateKWLoc, in BuildImplicitMemberExpr()