summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2013-06-06 00:19:36 +0000
committerAnna Zaks <ganna@apple.com>2013-06-06 00:19:36 +0000
commit73b417f363a67439b30b3167ef8d9fb32e37191b (patch)
tree5e33c0b30f004fb809332d32e12aeb56f77f014e /lib/CodeGen/CGExprComplex.cpp
parent1089a57a88051f84aca66f3d8c92bda32a3a5c49 (diff)
downloadclang-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/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions