commit | 73b417f363a67439b30b3167ef8d9fb32e37191b | [log] [tgz] |
---|---|---|
author | Anna Zaks <ganna@apple.com> | Thu Jun 06 00:19:36 2013 +0000 |
committer | Anna Zaks <ganna@apple.com> | Thu Jun 06 00:19:36 2013 +0000 |
tree | 5e33c0b30f004fb809332d32e12aeb56f77f014e | |
parent | 1089a57a88051f84aca66f3d8c92bda32a3a5c49 [diff] |
[analyzer] Fix a crash that occurs when processing an rvalue array. When processing ArrayToPointerDecay, we expect the array to be a location, not a LazyCompoundVal. Special case the rvalue arrays by using a location to represent them. This case is handled similarly elsewhere in the code. Fixes PR16206. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183359 91177308-0d34-0410-b5e6-96231b3b80d8