]> granicus.if.org Git - clang/commit
Labels (and case statement) don't create independent scope parents for the
authorJohn McCall <rjmccall@apple.com>
Mon, 2 Aug 2010 23:33:14 +0000 (23:33 +0000)
committerJohn McCall <rjmccall@apple.com>
Mon, 2 Aug 2010 23:33:14 +0000 (23:33 +0000)
commit97ba481f3f45e5b63b4a354bfb471ce146b7de57
tree9bc386dd915140e3b29a41c0eb564aa0c4fad60b
parentdb9d2145f1d85f64dba2c9b92416621ce01090a6
Labels (and case statement) don't create independent scope parents for the
purposes of the jump checker.  Also extend Ted's iteration fix to labels.

Fixes PR7789.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110082 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/JumpDiagnostics.cpp
test/Sema/scope-check.c
test/SemaCXX/scope-check.cpp