[Sema] Fix PR30481: crash on checking printf args.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 22 Sep 2016 00:00:26 +0000 (00:00 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 22 Sep 2016 00:00:26 +0000 (00:00 +0000)
commitb67e055cc7546d1c7bde880aa89353bfe6ce49b6
tree9a90caf5a5eaea194cf31d4b0753fdb07d01a433
parent1e04ce10186cd87da504c42b3dc463c69a3c4a78
[Sema] Fix PR30481: crash on checking printf args.

We were falling through from one case to another in a switch statement.
Oops.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@282124 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp
test/Sema/format-strings.c