aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaStmt.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-18 19:50:02 +0000
committerChris Lattner <sabre@nondot.org>2009-04-18 19:50:02 +0000
commita9768b72bb5ea061c9f10d6aa51b3be3241f3ec2 (patch)
treeeb0fb2af4a830253c6725bd7c9aa4ee308ccff65 /lib/Sema/SemaStmt.cpp
parent366920a45e3e278d35cbc3bc74d9d0676ae87dfe (diff)
Improve switch diagnostic to emit the "jump" message on the
specific bad case instead of on the switch. Putting it on the switch means you don't know what case is the problem. For example: scope-check.c:54:3: error: illegal switch case into protected scope case 2: ^ scope-check.c:53:9: note: jump bypasses initialization of variable length array int a[x]; ^ git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69462 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaStmt.cpp')
0 files changed, 0 insertions, 0 deletions