summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/operator-calls.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2017-10-13 20:54:56 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2017-10-13 20:54:56 +0000
commitcd25c38dc0e4e6a0afd940295aad60f3589dc69f (patch)
treebf3ee71cd0d987aa905acd7da603b03a1cebfbdf /clang/test/Analysis/operator-calls.cpp
parent9f21ca6361ad3f87f7bb3f27370c9feb79ccfb39 (diff)
downloadbcm5719-llvm-cd25c38dc0e4e6a0afd940295aad60f3589dc69f.tar.gz
bcm5719-llvm-cd25c38dc0e4e6a0afd940295aad60f3589dc69f.zip
[analyzer] pr28449: Fix support for various array initializers.
In some cases the analyzer didn't expect an array-type variable to be initialized with anything other than a string literal. The patch essentially removes the assertion, and ensures relatively sane behavior. There is a bigger problem with these initializers. Currently our memory model (RegionStore) is being ordered to initialize the array with a region that is assumed to be storing the initializer rvalue, and it guesses to copy the contents of that region to the array variable. However, it would make more sense for RegionStore to receive the correct initializer in the first place. This problem isn't addressed with this patch. rdar://problem/27248428 Differential Revision: https://reviews.llvm.org/D23963 llvm-svn: 315750
Diffstat (limited to 'clang/test/Analysis/operator-calls.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud