diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-04-15 17:33:31 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-04-15 17:33:31 +0000 |
commit | 1b49d762e9658b6b6d1b677dca005324a7b1126d (patch) | |
tree | fdfae21320e8435c87ac86c9ad838bb8ecf7f294 /lib/Sema/SemaCodeComplete.cpp | |
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
Diffstat (limited to 'lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions