commit | d97bb6c1384cb773ba5cdbd198008dec127cebad | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Thu Aug 30 16:50:46 2007 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Thu Aug 30 16:50:46 2007 +0000 |
tree | 49d7d4c960d31c7b41ef743deda260394f1ce01f | |
parent | 6eb2109ba3f9e2d266f8aaa52846c24121298145 [diff] |
Fixed bug for CaseStmt where the child_begin/child_end methods were not including the expressions in the case statement itself (not the body of the case). This required moving SubStmt out of SwitchCase into CaseStmt and DefaultStmt respectively. getSubStmt() now is a virtual call for SwitchCase, but is a direct (static) call for CaseStmt and DefaultStmt. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41609 91177308-0d34-0410-b5e6-96231b3b80d8