mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Change 'switch' not to fall through between empty cases and always require at
least one statement per case rdar://16301313 Swift SVN r15266
This commit is contained in:
@@ -943,9 +943,7 @@ public:
|
||||
ParserResult<Stmt> parseStmtForEach(SourceLoc ForLoc);
|
||||
ParserResult<Stmt> parseStmtSwitch();
|
||||
ParserResult<CaseStmt> parseStmtCase();
|
||||
ParserStatus parseStmtCaseLabels(SmallVectorImpl<CaseLabel*> &labels,
|
||||
SmallVectorImpl<Decl *> &boundDecls);
|
||||
|
||||
|
||||
/// Evaluate the conditional configuration expression of an #if statement
|
||||
bool evaluateConfigConditionExpr(Expr *configExpr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user