summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.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
commitbe35df19cf9540c03048942ecafc6811643073ec (patch)
tree15a605e8a2f31f9eca313f1d86f7a1ea69ba110f /lib/CodeGen/CodeGenFunction.cpp
parent1fc9111d85c3929018cd5c85dd14f3dbb5d23d68 (diff)
downloadclang-be35df19cf9540c03048942ecafc6811643073ec.tar.gz
clang-be35df19cf9540c03048942ecafc6811643073ec.tar.bz2
clang-be35df19cf9540c03048942ecafc6811643073ec.tar.xz
[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> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions