diff options
| author | Anna Zaks <ganna@apple.com> | 2013-06-06 00:19:36 +0000 |
|---|---|---|
| committer | Anna Zaks <ganna@apple.com> | 2013-06-06 00:19:36 +0000 |
| commit | 73b417f363a67439b30b3167ef8d9fb32e37191b (patch) | |
| tree | 5e33c0b30f004fb809332d32e12aeb56f77f014e /lib/CodeGen/CGExpr.cpp | |
| parent | 1089a57a88051f84aca66f3d8c92bda32a3a5c49 (diff) | |
| download | clang-73b417f363a67439b30b3167ef8d9fb32e37191b.tar.gz clang-73b417f363a67439b30b3167ef8d9fb32e37191b.tar.bz2 clang-73b417f363a67439b30b3167ef8d9fb32e37191b.tar.xz | |
[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
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
