Lines Matching refs:SS
187 const CXXScopeSpec &SS, in DiagnoseInstanceReference() argument
192 if (SS.isSet()) Range.setBegin(SS.getRange().getBegin()); in DiagnoseInstanceReference()
214 Sema::BuildPossibleImplicitMemberExpr(const CXXScopeSpec &SS, in BuildPossibleImplicitMemberExpr() argument
219 return BuildImplicitMemberExpr(SS, R, TemplateArgs, true); in BuildPossibleImplicitMemberExpr()
224 return BuildImplicitMemberExpr(SS, R, TemplateArgs, false); in BuildPossibleImplicitMemberExpr()
230 return BuildTemplateIdExpr(SS, R, false, *TemplateArgs); in BuildPossibleImplicitMemberExpr()
231 return BuildDeclarationNameExpr(SS, R, false); in BuildPossibleImplicitMemberExpr()
235 DiagnoseInstanceReference(*this, SS, R.getRepresentativeDecl(), in BuildPossibleImplicitMemberExpr()
420 const CXXScopeSpec &SS, in ActOnDependentMemberExpr() argument
446 isDependentScopeSpecifier(SS)); in ActOnDependentMemberExpr()
452 SS.getWithLocInContext(Context), in ActOnDependentMemberExpr()
463 const CXXScopeSpec &SS, in DiagnoseQualifiedMemberReference() argument
469 return DiagnoseInstanceReference(SemaRef, SS, rep, nameInfo); in DiagnoseQualifiedMemberReference()
472 << SS.getRange() << rep << BaseType; in DiagnoseQualifiedMemberReference()
489 const CXXScopeSpec &SS, in CheckQualifiedMemberReference() argument
521 DiagnoseQualifiedMemberReference(*this, BaseExpr, BaseType, SS, in CheckQualifiedMemberReference()
530 SourceLocation OpLoc, CXXScopeSpec &SS, in LookupMemberExprInRecord() argument
540 QualType ObjectType = SS.isSet() ? QualType() : QualType(RTy, 0); in LookupMemberExprInRecord()
543 SemaRef.LookupTemplateName(R, 0, SS, ObjectType, false, MOUS); in LookupMemberExprInRecord()
548 if (SS.isSet()) { in LookupMemberExprInRecord()
551 DC = SemaRef.computeDeclContext(SS, false); in LookupMemberExprInRecord()
553 if (SemaRef.RequireCompleteDeclContext(SS, DC)) { in LookupMemberExprInRecord()
554 SemaRef.Diag(SS.getRange().getEnd(), diag::err_typecheck_incomplete_tag) in LookupMemberExprInRecord()
555 << SS.getRange() << DC; in LookupMemberExprInRecord()
563 << DC << SS.getRange(); in LookupMemberExprInRecord()
579 &SS, DC, false, in LookupMemberExprInRecord()
591 << Name << DC << CorrectedQuotedStr << SS.getRange() in LookupMemberExprInRecord()
603 CXXScopeSpec &SS, in BuildMemberReferenceExpr() argument
608 (SS.isSet() && isDependentScopeSpecifier(SS))) in BuildMemberReferenceExpr()
611 SS, FirstQualifierInScope, in BuildMemberReferenceExpr()
622 OpLoc, SS, TemplateArgs != 0)) in BuildMemberReferenceExpr()
630 SS, /*ObjCImpDecl*/ 0, TemplateArgs != 0); in BuildMemberReferenceExpr()
649 OpLoc, IsArrow, SS, FirstQualifierInScope, in BuildMemberReferenceExpr()
655 const CXXScopeSpec &SS, FieldDecl *Field,
660 Sema::BuildAnonymousStructUnionMemberReference(const CXXScopeSpec &SS, in BuildAnonymousStructUnionMemberReference() argument
764 (FI == FEnd? SS : EmptySS), field, in BuildAnonymousStructUnionMemberReference()
773 const CXXScopeSpec &SS, ValueDecl *Member, in BuildMemberExpr() argument
779 return MemberExpr::Create(C, Base, isArrow, SS.getWithLocInContext(C), in BuildMemberExpr()
787 const CXXScopeSpec &SS, in BuildMemberReferenceExpr() argument
808 DeclContext *DC = (SS.isSet() in BuildMemberReferenceExpr()
809 ? computeDeclContext(SS, false) in BuildMemberReferenceExpr()
825 if ((SS.isSet() || !BaseExpr || in BuildMemberReferenceExpr()
829 CheckQualifiedMemberReference(BaseExpr, BaseType, SS, R)) in BuildMemberReferenceExpr()
843 SS.getWithLocInContext(Context), in BuildMemberReferenceExpr()
866 return BuildDeclarationNameExpr(SS, R.getLookupNameInfo(), MemberDecl); in BuildMemberReferenceExpr()
869 if (SS.getRange().isValid()) in BuildMemberReferenceExpr()
870 Loc = SS.getRange().getBegin(); in BuildMemberReferenceExpr()
878 if (MD->isVirtual() && !SS.isSet()) in BuildMemberReferenceExpr()
899 SS, FD, FoundDecl, MemberNameInfo); in BuildMemberReferenceExpr()
904 return BuildAnonymousStructUnionMemberReference(SS, MemberLoc, FD, in BuildMemberReferenceExpr()
909 return Owned(BuildMemberExpr(Context, BaseExpr, IsArrow, SS, in BuildMemberReferenceExpr()
927 return Owned(BuildMemberExpr(Context, BaseExpr, IsArrow, SS, in BuildMemberReferenceExpr()
935 return Owned(BuildMemberExpr(Context, BaseExpr, IsArrow, SS, in BuildMemberReferenceExpr()
1001 CXXScopeSpec &SS, in LookupMemberExpr() argument
1053 RTy, OpLoc, SS, HasTemplateArgs)) in LookupMemberExpr()
1082 return LookupMemberExpr(R, BaseExpr, IsArrow, OpLoc, SS, in LookupMemberExpr()
1240 return LookupMemberExpr(R, BaseExpr, IsArrow, OpLoc, SS, in LookupMemberExpr()
1253 return LookupMemberExpr(R, BaseExpr, IsArrow, OpLoc, SS, in LookupMemberExpr()
1309 return LookupMemberExpr(R, BaseExpr, IsArrow, OpLoc, SS, in LookupMemberExpr()
1343 return LookupMemberExpr(R, BaseExpr, IsArrow, OpLoc, SS, in LookupMemberExpr()
1366 return LookupMemberExpr(R, BaseExpr, IsArrow, OpLoc, SS, in LookupMemberExpr()
1414 return LookupMemberExpr(R, BaseExpr, IsArrow, OpLoc, SS, in LookupMemberExpr()
1441 CXXScopeSpec &SS, in ActOnMemberAccessExpr() argument
1445 if (SS.isSet() && SS.isInvalid()) in ActOnMemberAccessExpr()
1466 = (!SS.isSet() ? 0 : FindFirstQualifierInScope(S, in ActOnMemberAccessExpr()
1467 static_cast<NestedNameSpecifier*>(SS.getScopeRep()))); in ActOnMemberAccessExpr()
1475 isDependentScopeSpecifier(SS)) { in ActOnMemberAccessExpr()
1478 SS, FirstQualifierInScope, in ActOnMemberAccessExpr()
1484 SS, ObjCImpDecl, TemplateArgs != 0); in ActOnMemberAccessExpr()
1507 OpLoc, IsArrow, SS, FirstQualifierInScope, in ActOnMemberAccessExpr()
1516 const CXXScopeSpec &SS, FieldDecl *Field, in BuildFieldReferenceExpr() argument
1565 S.PerformObjectMemberConversion(BaseExpr, SS.getScopeRep(), in BuildFieldReferenceExpr()
1569 return S.Owned(BuildMemberExpr(S.Context, Base.take(), IsArrow, SS, in BuildFieldReferenceExpr()
1579 Sema::BuildImplicitMemberExpr(const CXXScopeSpec &SS, in BuildImplicitMemberExpr() argument
1591 return BuildAnonymousStructUnionMemberReference(SS, R.getNameLoc(), FD); in BuildImplicitMemberExpr()
1602 if (SS.getRange().isValid()) in BuildImplicitMemberExpr()
1603 Loc = SS.getRange().getBegin(); in BuildImplicitMemberExpr()
1610 SS, in BuildImplicitMemberExpr()