[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)
commitd273aab55babe5bbc06a1159e587de8ae51f228b
treece7fcfe32c49a487e45ec8f54556156908960855
parent2ce823d0d8b2f539d471ff8e67b69a639c32ffe1
[Sema] Fix PR30481: crash on checking printf args.

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

llvm-svn: 282124
clang/lib/Sema/SemaChecking.cpp
clang/test/Sema/format-strings.c