commit | b56593725243becfe2685f39eec47406299801ae | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Apr 18 21:00:42 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Apr 18 21:00:42 2009 +0000 |
tree | f3325a84c54d45c9beee44760b7466b28ca04eea | |
parent | 131038e2125d98f1be0d9cb62561a7cede41bb44 [diff] |
unconditionally check for goto correctness. This is because switch statements don't end up in the LabelMap so we don't have a quick way to filter them. We could add state to Sema (a "has vla" and "has jump" bit) to try to filter this out, but that would be sort of gross and I'm not convinced it is the best way. Thoughts welcome. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69476 91177308-0d34-0410-b5e6-96231b3b80d8