diff options
author | David Majnemer <david.majnemer@gmail.com> | 2011-06-13 05:50:12 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2011-06-13 05:50:12 +0000 |
commit | 0e1e69ca1b30df7692f302a5388377f507bc4567 (patch) | |
tree | 08e99a882fc1e9b343f4fe5e9fa0e03624b10650 /lib/CodeGen/CodeGenAction.cpp | |
parent | 5fc99f3cb7a18f5306b4ed6f58f1a397e7fb7696 (diff) |
Improve the diagnostics generated for switch statements missing expressions
- Move the diagnostic to the case statement instead of at the end of the switch
- Add a fix-it hint as to how to fix the compilation error
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132903 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions