forked from OSchip/llvm-project
2de3daa0a2
This turns on not only destructor inlining, but inlining of constructors for types with non-trivial destructors. Per r178516, we will still not inline the constructor or destructor of anything that looks like a container unless the analyzer-config option 'c++-container-inlining' is set to 'true'. In addition to the more precise path-sensitive model, this allows us to catch simple smart pointer issues: #include <memory> void test() { std::auto_ptr<int> releaser(new int[4]); } // memory allocated with 'new[]' should not be deleted with 'delete' <rdar://problem/12295363> llvm-svn: 178805 |
||
---|---|---|
.. | ||
DebugChecks.rst | ||
IPA.txt | ||
Makefile | ||
RegionStore.txt | ||
conf.py | ||
index.rst | ||
make.bat |