diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-01-09 22:58:54 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-01-09 22:58:54 +0000 |
commit | 4a749b957f28292e8412b7c13b01ca4baeb78d24 (patch) | |
tree | 35ee658987034b7a00a6da843f868f31f6d2efde /lib/Sema/CodeCompleteConsumer.cpp | |
parent | 124fca533d9fef2e3f6359283909bd342b5f5f26 (diff) |
Fix overzealous assertion in GRExprEngine::VisitLValue(). A
CallExpr/ObjCMessageExpr can be visited in an "lvalue" context if it
returns a struct temporary. Currently the analyzer doesn't reason
about struct temporary returned by function calls, but we shouldn't
crash here either.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/CodeCompleteConsumer.cpp')
0 files changed, 0 insertions, 0 deletions