commit | 4a749b957f28292e8412b7c13b01ca4baeb78d24 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Sat Jan 09 22:58:54 2010 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Sat Jan 09 22:58:54 2010 +0000 |
tree | 35ee658987034b7a00a6da843f868f31f6d2efde | |
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