@@ -998,8 +998,7 @@ class Parser {
998998
999999 // / Parse an #if ... #endif containing only attributes.
10001000 ParserStatus parseIfConfigAttributes (
1001- DeclAttributes &attributes, bool ifConfigsAreDeclAttrs,
1002- PatternBindingInitializer *initContext);
1001+ DeclAttributes &attributes, bool ifConfigsAreDeclAttrs);
10031002
10041003 // / Parse a #error or #warning diagnostic.
10051004 ParserResult<PoundDiagnosticDecl> parseDeclPoundDiagnostic ();
@@ -1022,13 +1021,6 @@ class Parser {
10221021 ParserStatus parseDeclAttributeList (DeclAttributes &Attributes,
10231022 bool IfConfigsAreDeclAttrs = false );
10241023
1025- // / Parse the optional attributes before a declaration.
1026- // /
1027- // / This is the inner loop, which can be called recursively.
1028- ParserStatus parseDeclAttributeList (DeclAttributes &Attributes,
1029- bool IfConfigsAreDeclAttrs,
1030- PatternBindingInitializer *initContext);
1031-
10321024 // / Parse the optional attributes before a closure declaration.
10331025 ParserStatus parseClosureDeclAttributeList (DeclAttributes &Attributes);
10341026
@@ -1163,7 +1155,6 @@ class Parser {
11631155 // / Parse a specific attribute.
11641156 ParserStatus parseDeclAttribute (DeclAttributes &Attributes, SourceLoc AtLoc,
11651157 SourceLoc AtEndLoc,
1166- PatternBindingInitializer *&initContext,
11671158 bool isFromClangAttribute = false );
11681159
11691160 bool isCustomAttributeArgument ();
@@ -1172,13 +1163,7 @@ class Parser {
11721163 // / Parse a custom attribute after the initial '@'.
11731164 // /
11741165 // / \param atLoc The location of the already-parsed '@'.
1175- // /
1176- // / \param initContext A reference to the initializer context used
1177- // / for the set of custom attributes. This should start as nullptr, and
1178- // / will get filled in by this function. The same variable should be provided
1179- // / for every custom attribute within the same attribute list.
1180- ParserResult<CustomAttr> parseCustomAttribute (
1181- SourceLoc atLoc, PatternBindingInitializer *&initContext);
1166+ ParserResult<CustomAttr> parseCustomAttribute (SourceLoc atLoc);
11821167
11831168 ParserStatus parseNewDeclAttribute (DeclAttributes &Attributes,
11841169 SourceLoc AtLoc, DeclAttrKind DK,
@@ -1480,7 +1465,6 @@ class Parser {
14801465
14811466 ParserStatus parseTypeAttribute (TypeOrCustomAttr &result, SourceLoc AtLoc,
14821467 SourceLoc AtEndLoc, ParseTypeReason reason,
1483- PatternBindingInitializer *&initContext,
14841468 bool justChecking = false );
14851469
14861470 ParserResult<TypeRepr> parseOldStyleProtocolComposition ();
0 commit comments