summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/lifetime-extension.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2018-03-01 18:53:13 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2018-03-01 18:53:13 +0000
commit61199443fe1f6d91662c61d383e37f8a89d8c210 (patch)
tree2869b348daaf682aa6fb56225a301056189689d0 /clang/test/Analysis/lifetime-extension.cpp
parent503fdea3cbf839c2ff9e90ef380030c1952f59e9 (diff)
downloadbcm5719-llvm-61199443fe1f6d91662c61d383e37f8a89d8c210.tar.gz
bcm5719-llvm-61199443fe1f6d91662c61d383e37f8a89d8c210.zip
[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
Diffstat (limited to 'clang/test/Analysis/lifetime-extension.cpp')
-rw-r--r--clang/test/Analysis/lifetime-extension.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/lifetime-extension.cpp b/clang/test/Analysis/lifetime-extension.cpp
index 9b64280529c..53c8edbb2a4 100644
--- a/clang/test/Analysis/lifetime-extension.cpp
+++ b/clang/test/Analysis/lifetime-extension.cpp
@@ -1,5 +1,5 @@
-// RUN: %clang_analyze_cc1 -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -verify %s
-// RUN: %clang_analyze_cc1 -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=true -DTEMPORARIES -verify %s
+// RUN: %clang_analyze_cc1 -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=false -verify %s
+// RUN: %clang_analyze_cc1 -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -DTEMPORARIES -verify %s
void clang_analyzer_eval(bool);
OpenPOWER on IntegriCloud