[analyzer] Re-enable cplusplus.NewDelete (but not NewDeleteLeaks).
authorJordan Rose <jordan_rose@apple.com>
Fri, 5 Apr 2013 17:55:07 +0000 (17:55 +0000)
committerJordan Rose <jordan_rose@apple.com>
Fri, 5 Apr 2013 17:55:07 +0000 (17:55 +0000)
commit10ad081fc67c027d54fcd3133697eb0f2d0dfe00
treefea20a5c6b0254f9eec832e0ae80c26fdf747094
parent26330563f27a93b9c0a0639a3e4f4cf538aa54fe
[analyzer] Re-enable cplusplus.NewDelete (but not NewDeleteLeaks).

As mentioned in the previous commit message, the use-after-free and
double-free warnings for 'delete' are worth enabling even while the
leak warnings still have false positives.

llvm-svn: 178891
clang/lib/Driver/Tools.cpp
clang/lib/StaticAnalyzer/Checkers/Checkers.td
clang/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp
clang/test/Analysis/Malloc+NewDelete_intersections.cpp
clang/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp
clang/test/Analysis/NewDelete-checker-test.cpp
clang/test/Analysis/NewDelete-custom.cpp
clang/test/Analysis/NewDelete-intersections.mm
clang/test/Analysis/NewDelete-path-notes.cpp
clang/test/Analysis/NewDelete-variadic.cpp
clang/utils/analyzer/SATestBuild.py