@@ -354,7 +354,7 @@ bool Parser::ParseOptionalCXXScopeSpecifier(
354354 TemplateTy Template;
355355 TemplateNameKind TNK = Actions.ActOnTemplateName (
356356 getCurScope (), SS, TemplateKWLoc, TemplateName, ObjectType,
357- EnteringContext, Template, /* AllowInjectedClassName*/ true ,
357+ EnteringContext, Template, /* AllowInjectedClassName= */ true ,
358358 /* MayBeNNS=*/ true );
359359 if (AnnotateTemplateIdToken (Template, TNK, SS, TemplateKWLoc,
360360 TemplateName, false ))
@@ -407,6 +407,7 @@ bool Parser::ParseOptionalCXXScopeSpecifier(
407407 : TemplateId->TemplateNameLoc ;
408408 SS.SetInvalid (SourceRange (StartLoc, CCLoc));
409409 }
410+
410411 continue ;
411412 }
412413
@@ -540,7 +541,7 @@ bool Parser::ParseOptionalCXXScopeSpecifier(
540541 // error recovery. But before we commit to this, check that we actually
541542 // have something that looks like a template-argument-list next.
542543 if (!IsTypename && (ObjectType || TNK == TNK_Undeclared_template) &&
543- isTemplateArgumentList (1 ) == TPResult::False)
544+ isTemplateArgumentList (1 ) == TPResult::False)
544545 break ;
545546
546547 // We have found a template name, so annotate this token
@@ -652,10 +653,10 @@ ExprResult Parser::tryParseCXXIdExpression(CXXScopeSpec &SS,
652653 if (isAddressOfOperand && isPostfixExpressionSuffixStart ())
653654 isAddressOfOperand = false ;
654655
655- E = Actions.ActOnIdExpression (
656- getCurScope (), SS, TemplateKWLoc, Name, Tok.is (tok::l_paren),
657- isAddressOfOperand, /* CCC=*/ nullptr , /* IsInlineAsmIdentifier= */ false ,
658- Replacement);
656+ E = Actions.ActOnIdExpression (getCurScope (), SS, TemplateKWLoc, Name,
657+ Tok.is (tok::l_paren), isAddressOfOperand ,
658+ /* CCC=*/ nullptr ,
659+ /* IsInlineAsmIdentifier= */ false , Replacement);
659660 break ;
660661 }
661662
@@ -1917,7 +1918,7 @@ Parser::ParseCXXPseudoDestructor(Expr *Base, SourceLocation OpLoc,
19171918 // argument list. This affects examples such as
19181919 // void f(auto *p) { p->~X<int>(); }
19191920 // ... but there's no ambiguity, and nowhere to write 'template' in such an
1920- // example, so we accept it anyway
1921+ // example, so we accept it anyway.
19211922 if (Tok.is (tok::less) && ParseUnqualifiedIdTemplateId (
19221923 SS, ObjectType, Base && Base->containsErrors (),
19231924 /* TemplateKWLoc=*/ SourceLocation (), TildeLoc,
0 commit comments