llvm-capstone/clang/docs/analyzer
Jordan Rose 2de3daa0a2 [analyzer] Enable destructor inlining by default (c++-inlining=destructors).
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
2013-04-04 23:10:29 +00:00
..
conf.py [docs/analyzer] Convert existing debug-checks document to Sphinx and link into doctree. 2013-01-07 20:38:55 +00:00
DebugChecks.rst [docs/analyzer] Test commit (for auto-update). 2013-01-07 20:44:37 +00:00
index.rst [docs/analyzer] Convert existing debug-checks document to Sphinx and link into doctree. 2013-01-07 20:38:55 +00:00
IPA.txt [analyzer] Enable destructor inlining by default (c++-inlining=destructors). 2013-04-04 23:10:29 +00:00
make.bat analyzer: add initial Sphinx configuration 2013-01-02 23:07:22 +00:00
Makefile analyzer: add initial Sphinx configuration 2013-01-02 23:07:22 +00:00
RegionStore.txt [analyzer] Add a doc describing the internals of RegionStore. 2013-02-05 17:31:34 +00:00