commit | 1b49d762e9658b6b6d1b677dca005324a7b1126d | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Thu Apr 15 17:33:31 2010 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Thu Apr 15 17:33:31 2010 +0000 |
tree | fdfae21320e8435c87ac86c9ad838bb8ecf7f294 | |
parent | 97913576dbe624971bf18726899983d211d742c0 [diff] |
Fix PR 6844, a regression caused by the introduction of llvm_unreachable for the default case in GRExprEngine::Visit (in r101129). Instead, enumerate all Stmt cases and have no 'default' case in the switch statement. When we encounter a Stmt we don't handle, we should explicitly add it to the switch statement. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101378 91177308-0d34-0410-b5e6-96231b3b80d8