mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Parse] Inline skipExtraTopLevelRBraces()
Removed from 'parseTopLevel()'. There's no particular reason to diagnose it in 'parseTopLevel()'.
This commit is contained in:
@@ -710,11 +710,6 @@ public:
|
||||
/// Options that control the parsing of declarations.
|
||||
typedef OptionSet<ParseDeclFlags> ParseDeclOptions;
|
||||
|
||||
/// Skips the current token if it is '}', and emits a diagnostic.
|
||||
///
|
||||
/// \returns true if any tokens were skipped.
|
||||
bool skipExtraTopLevelRBraces();
|
||||
|
||||
void delayParseFromBeginningToHere(ParserPosition BeginParserPosition,
|
||||
ParseDeclOptions Flags);
|
||||
void consumeDecl(ParserPosition BeginParserPosition, ParseDeclOptions Flags,
|
||||
|
||||
Reference in New Issue
Block a user