@@ -3663,7 +3663,7 @@ ParserStatus Parser::parseNewDeclAttribute(DeclAttributes &Attributes,
3663
3663
return makeParserSuccess ();
3664
3664
}
3665
3665
3666
- SourceLoc LParenLoc = consumeToken (tok::l_paren);
3666
+ consumeToken (tok::l_paren);
3667
3667
3668
3668
if (!Tok.canBeArgumentLabel ()) {
3669
3669
diagnose (Loc, diag::attr_rawlayout_expected_label, " 'size', 'like', or 'likeArrayOf'" );
@@ -3672,7 +3672,7 @@ ParserStatus Parser::parseNewDeclAttribute(DeclAttributes &Attributes,
3672
3672
}
3673
3673
3674
3674
Identifier firstLabel;
3675
- SourceLoc firstLabelLoc = consumeArgumentLabel (firstLabel, true );
3675
+ consumeArgumentLabel (firstLabel, true );
3676
3676
if (!consumeIf (tok::colon)) {
3677
3677
diagnose (Loc, diag::attr_expected_colon_after_label, firstLabel.str ());
3678
3678
return makeParserSuccess ();
@@ -3700,7 +3700,7 @@ ParserStatus Parser::parseNewDeclAttribute(DeclAttributes &Attributes,
3700
3700
}
3701
3701
3702
3702
Identifier alignLabel;
3703
- SourceLoc alignLabelLoc = consumeArgumentLabel (alignLabel, true );
3703
+ consumeArgumentLabel (alignLabel, true );
3704
3704
if (!consumeIf (tok::colon)) {
3705
3705
diagnose (Loc, diag::attr_expected_colon_after_label, " alignment" );
3706
3706
return makeParserSuccess ();
@@ -3759,7 +3759,7 @@ ParserStatus Parser::parseNewDeclAttribute(DeclAttributes &Attributes,
3759
3759
}
3760
3760
3761
3761
Identifier countLabel;
3762
- SourceLoc countLabelLoc = consumeArgumentLabel (countLabel, true );
3762
+ consumeArgumentLabel (countLabel, true );
3763
3763
if (!consumeIf (tok::colon)) {
3764
3764
diagnose (Loc, diag::attr_expected_colon_after_label, " count" );
3765
3765
return makeParserSuccess ();
0 commit comments