@@ -1019,9 +1019,10 @@ class Parser {
10191019 PatternBindingInitializer *initContext);
10201020
10211021 // / Parse the optional modifiers before a declaration.
1022- bool parseDeclModifierList (DeclAttributes &Attributes, SourceLoc &StaticLoc,
1023- StaticSpellingKind &StaticSpelling,
1024- bool isFromClangAttribute = false );
1022+ ParserStatus parseDeclModifierList (DeclAttributes &Attributes,
1023+ SourceLoc &StaticLoc,
1024+ StaticSpellingKind &StaticSpelling,
1025+ bool isFromClangAttribute = false );
10251026
10261027 // / Parse an availability attribute of the form
10271028 // / @available(*, introduced: 1.0, deprecated: 3.1).
@@ -1133,9 +1134,9 @@ class Parser {
11331134 ParserResult<CustomAttr> parseCustomAttribute (
11341135 SourceLoc atLoc, PatternBindingInitializer *&initContext);
11351136
1136- bool parseNewDeclAttribute (DeclAttributes &Attributes, SourceLoc AtLoc ,
1137- DeclAttrKind DK,
1138- bool isFromClangAttribute = false );
1137+ ParserStatus parseNewDeclAttribute (DeclAttributes &Attributes,
1138+ SourceLoc AtLoc, DeclAttrKind DK,
1139+ bool isFromClangAttribute = false );
11391140
11401141 // / Parse a version tuple of the form x[.y[.z]]. Returns true if there was
11411142 // / an error parsing.
0 commit comments