Lines Matching defs:SS
89 IdentifierInfo &II, CXXScopeSpec &SS) {
101 if (!Actions.isTemplateName(getCurScope(), SS, /*hasTemplateKeyword=*/false,
126 /// \param SS the scope specifier that will be set to the parsed
160 CXXScopeSpec &SS, ParsedType ObjectType, bool ObjectHadErrors,
172 SS);
201 if (Actions.ActOnCXXGlobalScopeSpecifier(ConsumeToken(), SS))
215 return Actions.ActOnSuperScopeSpecifier(SuperLoc, ConsumeToken(), SS);
233 if (Actions.ActOnCXXNestedNameSpecifierDecltype(SS, DS, CCLoc))
234 SS.SetInvalid(SourceRange(DeclLoc, CCLoc));
261 if (Actions.ActOnCXXNestedNameSpecifierIndexedPack(SS, DS, CCLoc,
263 SS.SetInvalid(SourceRange(Start, CCLoc));
276 getCurScope(), SS, EnteringContext, InUsingDeclaration,
277 ObjectType.get(), SavedType.get(SS.getBeginLoc()));
282 SS.setEndLoc(Tok.getLocation());
324 if (ParseUnqualifiedIdOperator(SS, EnteringContext, ObjectType,
355 getCurScope(), SS, TemplateKWLoc, TemplateName, ObjectType,
357 if (AnnotateTemplateIdToken(Template, TNK, SS, TemplateKWLoc,
394 SS,
404 = SS.getBeginLoc().isValid()? SS.getBeginLoc()
406 SS.SetInvalid(SourceRange(StartLoc, CCLoc));
444 if (Actions.IsInvalidUnlessNestedName(getCurScope(), SS, IdInfo,
504 getCurScope(), IdInfo, EnteringContext, SS, CorrectionFlagPtr,
515 SS.SetInvalid(SourceRange(IdLoc, CCLoc));
521 CheckForTemplateAndDigraph(Next, ObjectType, EnteringContext, II, SS);
531 if (TemplateNameKind TNK = Actions.isTemplateName(getCurScope(), SS,
554 if (AnnotateTemplateIdToken(Template, TNK, SS, SourceLocation(),
560 if (MemberOfUnknownSpecialization && (ObjectType || SS.isSet()) &&
581 getCurScope(), SS, TemplateNameLoc, TemplateName, ObjectType,
583 if (AnnotateTemplateIdToken(Template, TNK, SS, SourceLocation(),
605 ExprResult Parser::tryParseCXXIdExpression(CXXScopeSpec &SS,
615 E = Actions.ActOnNameClassifiedAsNonType(getCurScope(), SS, ND, Loc, Tok);
628 E = Actions.ActOnNameClassifiedAsDependentNonType(SS, II, Loc,
634 assert(SS.isEmpty() &&
645 if (ParseUnqualifiedId(SS, /*ObjectType=*/nullptr,
659 getCurScope(), SS, TemplateKWLoc, Name, Tok.is(tok::l_paren),
744 CXXScopeSpec SS;
745 ParseOptionalCXXScopeSpecifier(SS, /*ObjectType=*/nullptr,
751 tryParseCXXIdExpression(SS, isAddressOfOperand, Replacement);
756 Result = tryParseCXXIdExpression(SS, isAddressOfOperand, Replacement);
1858 CXXScopeSpec &SS,
1879 assert(SS.isEmpty() && "missing last component of nested name specifier");
1926 SS, ObjectType, Base && Base->containsErrors(), SourceLocation(),
1932 SS, FirstTypeName, CCLoc, TildeLoc,
2507 /// \param SS the nested-name-specifier that precedes this template-id, if
2534 CXXScopeSpec &SS, ParsedType ObjectType, bool ObjectHadErrors,
2548 TNK = Actions.ActOnTemplateName(getCurScope(), SS, TemplateKWLoc, Id,
2553 TNK = Actions.isTemplateName(getCurScope(), SS,
2588 getCurScope(), SS, TemplateKWLoc, Id, ObjectType, EnteringContext,
2600 TNK = Actions.isTemplateName(getCurScope(), SS, TemplateKWLoc.isValid(),
2615 getCurScope(), SS, TemplateKWLoc, TemplateName, ObjectType,
2618 TNK = Actions.isTemplateName(getCurScope(), SS, TemplateKWLoc.isValid(),
2625 << Name << SS.getRange();
2675 getCurScope(), SS, TemplateKWLoc, Template, Name, NameLoc, LAngleLoc,
2716 /// \param SS The nested-name-specifier that preceded this unqualified-id. If
2728 bool Parser::ParseUnqualifiedIdOperator(CXXScopeSpec &SS, bool EnteringContext,
2893 return Actions.checkLiteralOperatorId(SS, Result, IsUDSuffix);
2944 /// \param SS The nested-name-specifier that preceded this unqualified-id. If
2966 bool Parser::ParseUnqualifiedId(CXXScopeSpec &SS, ParsedType ObjectType,
2980 if (TemplateKWLoc && (ObjectType || SS.isSet())) {
3008 Actions.isCurrentClassName(*Id, getCurScope(), &SS)) {
3010 ParsedType Ty = Actions.getConstructorName(*Id, IdLoc, getCurScope(), SS,
3016 SS.isEmpty() &&
3017 Actions.isDeductionGuideName(getCurScope(), *Id, IdLoc, SS,
3030 SS, ObjectType, ObjectHadErrors,
3036 Actions.ActOnTemplateName(getCurScope(), SS, *TemplateKWLoc, Result,
3067 Actions.isCurrentClassName(*TemplateId->Name, getCurScope(), &SS)) {
3068 if (SS.isSet()) {
3079 *TemplateId->Name, TemplateId->TemplateNameLoc, getCurScope(), SS,
3099 if (TemplateKWLoc && (ObjectType || SS.isSet()))
3113 if (ParseUnqualifiedIdOperator(SS, EnteringContext, ObjectType, Result))
3126 SS, ObjectType, ObjectHadErrors,
3131 getCurScope(), SS, *TemplateKWLoc, Result, ObjectType,
3140 (AllowDestructorName || SS.isSet()) && Tok.is(tok::tilde)) {
3165 if (SS.isEmpty() && Tok.is(tok::kw_decltype)) {
3183 DeclaratorScopeObj DeclScopeObj(*this, SS);
3190 if (SS.isSet()) {
3191 AnnotateScopeToken(SS, /*NewAnnotation*/true);
3192 SS.clear();
3194 if (ParseOptionalCXXScopeSpecifier(SS, ObjectType, ObjectHadErrors,
3197 if (SS.isNotEmpty())
3200 !SS.isSet()) {
3211 if (Actions.ShouldEnterDeclaratorScope(getCurScope(), SS))
3222 SS, ObjectType, ObjectHadErrors,
3229 Actions.getDestructorName(*ClassName, ClassNameLoc, getCurScope(), SS,
3705 CXXScopeSpec SS;
3709 SS);
3714 Expression.get(), NoexceptLoc, SS, takeTemplateIdAnnotation(Tok),
3804 CXXScopeSpec SS;
3807 Tok.getAnnotationValue(), Tok.getAnnotationRange(), SS);
3827 if (auto *Req = Actions.ActOnTypeRequirement(TypenameKWLoc, SS,