Skip to content

Commit 92580f5

Browse files
committed
---
yaml --- r: 294909 b: refs/heads/swift-5.1-branch c: 421514f h: refs/heads/master i: 294907: fc7947e
1 parent c6de392 commit 92580f5

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@ refs/heads/marcrasi-astverifier-disable: 3fac766a23a77ebd0640296bfd7fc116ea60a4e
12421242
refs/heads/revert-22227-a-tall-white-fountain-played: adfce60b2eaa54903ea189bed8a783bca609fa53
12431243
refs/heads/revert-22300-revert-22227-a-tall-white-fountain-played: 5f92040224df7dd4e618fdfb367349df64d8acad
12441244
refs/heads/swift-5.1-old-llvm-branch: 9cef8175146f25b72806154b8a0f4a3f52e3e400
1245-
refs/heads/swift-5.1-branch: 2c6ced87c65dd995e7482e65a3772ae0bc8a0d74
1245+
refs/heads/swift-5.1-branch: 421514f163c3ac8e45320fe9439620866396d79d
12461246
refs/tags/swift-4.2.2-RELEASE: e429d1f1aaf59e69d38207a96e56265c7f6fccec
12471247
refs/tags/swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-02-a: 3e5a03d32ff3b1e9af90d6c1198c14f938379a6e
12481248
refs/tags/swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-03-a: 4591c933063ddcb0d6cd6d0cdd01086b2f9b244d

branches/swift-5.1-branch/lib/Sema/TypeCheckStmt.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1936,8 +1936,6 @@ bool TypeChecker::typeCheckFunctionBodyUntil(FuncDecl *FD,
19361936
// The function returns void. We don't need an explicit return, no matter
19371937
// what the type of the expression is. Take the inserted return back out.
19381938
BS->setElement(0, E);
1939-
// Fall through to type-checking the body as if we were not a single
1940-
// expression function.
19411939
}
19421940
}
19431941

0 commit comments

Comments
 (0)