[analyzer] Enable cfg-temporary-dtors by default.
authorArtem Dergachev <artem.dergachev@gmail.com>
Thu, 1 Mar 2018 18:53:13 +0000 (18:53 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Thu, 1 Mar 2018 18:53:13 +0000 (18:53 +0000)
commit61199443fe1f6d91662c61d383e37f8a89d8c210
tree2869b348daaf682aa6fb56225a301056189689d0
parent503fdea3cbf839c2ff9e90ef380030c1952f59e9
[analyzer] Enable cfg-temporary-dtors by default.

Don't enable c++-temp-dtor-inlining by default yet, due to this reference
counting pointe problem.

Otherwise the new mode seems stable and allows us to incrementally fix C++
problems in much less hacky ways.

Differential Revision: https://reviews.llvm.org/D43804

llvm-svn: 326461
clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
clang/test/Analysis/analyzer-config.c
clang/test/Analysis/analyzer-config.cpp
clang/test/Analysis/inlining/temp-dtors-path-notes.cpp
clang/test/Analysis/lifetime-cfg-output.cpp
clang/test/Analysis/lifetime-extension.cpp
clang/test/Analysis/temporaries.cpp