Lines Matching refs:SS
109 bool Parser::ParseOptionalCXXScopeSpecifier(CXXScopeSpec &SS, in ParseOptionalCXXScopeSpecifier() argument
120 SS); in ParseOptionalCXXScopeSpecifier()
134 if (Actions.ActOnCXXGlobalScopeSpecifier(getCurScope(), ConsumeToken(), SS)) in ParseOptionalCXXScopeSpecifier()
163 Actions.CodeCompleteQualifiedId(getCurScope(), SS, EnteringContext); in ParseOptionalCXXScopeSpecifier()
169 SS.setEndLoc(ccLoc); in ParseOptionalCXXScopeSpecifier()
194 if (ParseUnqualifiedIdOperator(SS, EnteringContext, ObjectType, in ParseOptionalCXXScopeSpecifier()
226 SS, in ParseOptionalCXXScopeSpecifier()
231 if (AnnotateTemplateIdToken(Template, TNK, SS, TemplateName, in ParseOptionalCXXScopeSpecifier()
269 SS, in ParseOptionalCXXScopeSpecifier()
278 = SS.getBeginLoc().isValid()? SS.getBeginLoc() in ParseOptionalCXXScopeSpecifier()
280 SS.SetInvalid(SourceRange(StartLoc, CCLoc)); in ParseOptionalCXXScopeSpecifier()
303 if (Actions.IsInvalidUnlessNestedName(getCurScope(), SS, II, in ParseOptionalCXXScopeSpecifier()
321 !Actions.isNonTypeNestedNameSpecifier(getCurScope(), SS, Tok.getLocation(), in ParseOptionalCXXScopeSpecifier()
336 ObjectType, EnteringContext, SS)) in ParseOptionalCXXScopeSpecifier()
337 SS.SetInvalid(SourceRange(IdLoc, CCLoc)); in ParseOptionalCXXScopeSpecifier()
352 if (Actions.isTemplateName(getCurScope(), SS, in ParseOptionalCXXScopeSpecifier()
372 if (TemplateNameKind TNK = Actions.isTemplateName(getCurScope(), SS, in ParseOptionalCXXScopeSpecifier()
386 if (AnnotateTemplateIdToken(Template, TNK, SS, TemplateName, in ParseOptionalCXXScopeSpecifier()
392 if (MemberOfUnknownSpecialization && (ObjectType || SS.isSet()) && in ParseOptionalCXXScopeSpecifier()
408 Tok.getLocation(), SS, in ParseOptionalCXXScopeSpecifier()
413 if (AnnotateTemplateIdToken(Template, TNK, SS, TemplateName, in ParseOptionalCXXScopeSpecifier()
485 CXXScopeSpec SS; in ParseCXXIdExpression() local
486 ParseOptionalCXXScopeSpecifier(SS, ParsedType(), false); in ParseCXXIdExpression()
489 if (ParseUnqualifiedId(SS, in ParseCXXIdExpression()
502 return Actions.ActOnIdExpression(getCurScope(), SS, Name, Tok.is(tok::l_paren), in ParseCXXIdExpression()
706 CXXScopeSpec &SS, in ParseCXXPseudoDestructor() argument
750 ParseUnqualifiedIdTemplateId(SS, Name, NameLoc, false, ObjectType, in ParseCXXPseudoDestructor()
757 SS, FirstTypeName, CCLoc, in ParseCXXPseudoDestructor()
1175 bool Parser::ParseUnqualifiedIdTemplateId(CXXScopeSpec &SS, in ParseUnqualifiedIdTemplateId() argument
1193 TNK = Actions.ActOnDependentTemplateName(getCurScope(), TemplateKWLoc, SS, in ParseUnqualifiedIdTemplateId()
1200 TNK = Actions.isTemplateName(getCurScope(), SS, in ParseUnqualifiedIdTemplateId()
1225 SS, Id, ObjectType, in ParseUnqualifiedIdTemplateId()
1237 TNK = Actions.isTemplateName(getCurScope(), SS, TemplateKWLoc.isValid(), in ParseUnqualifiedIdTemplateId()
1249 TNK = Actions.ActOnDependentTemplateName(getCurScope(), TemplateKWLoc, SS, in ParseUnqualifiedIdTemplateId()
1255 TNK = Actions.isTemplateName(getCurScope(), SS, TemplateKWLoc.isValid(), in ParseUnqualifiedIdTemplateId()
1262 << Name << SS.getRange(); in ParseUnqualifiedIdTemplateId()
1281 SS, true, LAngleLoc, in ParseUnqualifiedIdTemplateId()
1304 TemplateId->SS = SS; in ParseUnqualifiedIdTemplateId()
1324 = Actions.ActOnTemplateIdType(SS, Template, NameLoc, in ParseUnqualifiedIdTemplateId()
1378 bool Parser::ParseUnqualifiedIdOperator(CXXScopeSpec &SS, bool EnteringContext, in ParseUnqualifiedIdOperator() argument
1555 bool Parser::ParseUnqualifiedId(CXXScopeSpec &SS, bool EnteringContext, in ParseUnqualifiedId() argument
1566 (ObjectType || SS.isSet())) { in ParseUnqualifiedId()
1587 Actions.isCurrentClassName(*Id, getCurScope(), &SS)) { in ParseUnqualifiedId()
1590 &SS, false, false, in ParseUnqualifiedId()
1601 return ParseUnqualifiedIdTemplateId(SS, Id, IdLoc, EnteringContext, in ParseUnqualifiedId()
1615 Actions.isCurrentClassName(*TemplateId->Name, getCurScope(), &SS)) { in ParseUnqualifiedId()
1616 if (SS.isSet()) { in ParseUnqualifiedId()
1629 &SS, false, false, in ParseUnqualifiedId()
1654 if (ParseUnqualifiedIdOperator(SS, EnteringContext, ObjectType, Result)) in ParseUnqualifiedId()
1665 return ParseUnqualifiedIdTemplateId(SS, 0, SourceLocation(), in ParseUnqualifiedId()
1674 (AllowDestructorName || SS.isSet()) && Tok.is(tok::tilde)) { in ParseUnqualifiedId()
1695 return ParseUnqualifiedIdTemplateId(SS, ClassName, ClassNameLoc, in ParseUnqualifiedId()
1703 SS, ObjectType, in ParseUnqualifiedId()