]> granicus.if.org Git - clang/commit
Revert "[analyzer] Refactor conditional expression evaluating code"
authorAnna Zaks <ganna@apple.com>
Fri, 6 Dec 2013 18:56:29 +0000 (18:56 +0000)
committerAnna Zaks <ganna@apple.com>
Fri, 6 Dec 2013 18:56:29 +0000 (18:56 +0000)
commitdf316d85257b2dfba329374c2ecea258154b574a
treefbd014d903c15d459ef66270267c12158e770735
parent328b3ffb155c94e8ab54b0f282d8db6a1f839deb
Revert "[analyzer] Refactor conditional expression evaluating code"

This reverts commit r189090.

The original patch introduced regressions (see the added live-variables.* tests). The patch depends on the correctness of live variable analyses, which are not computed correctly. I've opened PR18159 to track the proper resolution to this problem.

The patch was a stepping block to r189746. This is why part of the patch reverts temporary destructor tests that started crashing. The temporary destructors feature is disabled by default.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196593 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/LiveVariables.cpp
lib/StaticAnalyzer/Core/ExprEngine.cpp
lib/StaticAnalyzer/Core/ExprEngineC.cpp
test/Analysis/live-variables.cpp [new file with mode: 0644]
test/Analysis/live-variables.m [new file with mode: 0644]
test/Analysis/temporaries.cpp