summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2017-10-05 08:43:32 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2017-10-05 08:43:32 +0000
commit59428d182f6074363588beaecdacbbd1eb842bb8 (patch)
tree99c5764c7686174bd39651ec9485e9bf77eda7e7 /clang/lib/CodeGen/CodeGenFunction.cpp
parent8d8d201c17861aa2d8bdca42d1973b3ddf78aef4 (diff)
downloadbcm5719-llvm-59428d182f6074363588beaecdacbbd1eb842bb8.tar.gz
bcm5719-llvm-59428d182f6074363588beaecdacbbd1eb842bb8.zip
[analyzer] Fix leak false positives on stuff put in C++/ObjC initializer lists.
The analyzer now realizes that C++ std::initializer_list objects and Objective-C boxed structure/array/dictionary expressions can potentially maintain a reference to the objects that were put into them. This avoids false memory leak posivites and a few other issues. This is a conservative behavior; for now, we do not model what actually happens to the objects after being passed into such initializer lists. rdar://problem/32918288 Differential Revision: https://reviews.llvm.org/D35216 llvm-svn: 314975
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud