]> granicus.if.org Git - clang/commit
[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)
commit89453f720426c927803197b07e001b1ad9b21d03
tree3d0f602040004904a280231f55232adc5938f5f2
parentc476211d8b3b3fe69b7166c86bd88e3e09113371
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@326461 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
test/Analysis/analyzer-config.c
test/Analysis/analyzer-config.cpp
test/Analysis/inlining/temp-dtors-path-notes.cpp
test/Analysis/lifetime-cfg-output.cpp
test/Analysis/lifetime-extension.cpp
test/Analysis/temporaries.cpp