aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/PrintfFormatString.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-12-23 22:56:40 +0000
committerDouglas Gregor <dgregor@apple.com>2010-12-23 22:56:40 +0000
commit662a4822ee7c8696434b054303c5076a606ab175 (patch)
treeb8610ed895bb1530766b3c9f964aa53771b0953c /lib/Analysis/PrintfFormatString.cpp
parenta8bc8c9e9ba5bffebde00340786fe8542469c435 (diff)
Improve the diagnostic and recovery for missing colons after 'case'
and 'default' statements, including a Fix-It to add the colon: test/Parser/switch-recovery.cpp:13:12: error: expected ':' after 'case' case 17 // expected-error{{expected ':' after 'case'}} ^ : test/Parser/switch-recovery.cpp:16:12: error: expected ':' after 'default' default // expected-error{{expected ':' after 'default'}} ^ : git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122522 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/PrintfFormatString.cpp')
0 files changed, 0 insertions, 0 deletions