summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tool.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-06-25 01:56:08 +0000
committerJordan Rose <jordan_rose@apple.com>2013-06-25 01:56:08 +0000
commitb8e286548c2333cda380594cc6a8948cc1428f92 (patch)
treeca3e9986f45c50611f14bf76deb4fde0cd94b1f5 /clang/lib/Driver/Tool.cpp
parentb3b976f0615db228547bb4e538b876722e090552 (diff)
downloadbcm5719-llvm-b8e286548c2333cda380594cc6a8948cc1428f92.tar.gz
bcm5719-llvm-b8e286548c2333cda380594cc6a8948cc1428f92.zip
[analyzer] Handle zeroing CXXConstructExprs.
Re-apply r184511, reverted in r184561, with the trivial default constructor fast path removed -- it turned out not to be necessary here. Certain expressions can cause a constructor invocation to zero-initialize its object even if the constructor itself does no initialization. The analyzer now handles that before evaluating the call to the constructor, using the same "default binding" mechanism that calloc() uses, rather than simply ignoring the zero-initialization flag. <rdar://problem/14212563> llvm-svn: 184815
Diffstat (limited to 'clang/lib/Driver/Tool.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud