summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2013-09-02 09:09:15 +0000
committerPavel Labath <labath@google.com>2013-09-02 09:09:15 +0000
commit95ab9e306f4deefeabd89ea61987f4a8d67e0890 (patch)
tree0c6a36ddabb0f85aabbebdff7c1d29ca4cbb20af /lib/CodeGen/CGExpr.cpp
parent67cf1dbdd2e1e167a34b849386916450649564cb (diff)
downloadclang-95ab9e306f4deefeabd89ea61987f4a8d67e0890.tar.gz
clang-95ab9e306f4deefeabd89ea61987f4a8d67e0890.tar.bz2
clang-95ab9e306f4deefeabd89ea61987f4a8d67e0890.tar.xz
[analyzer] Add very limited support for temporary destructors
This is an improved version of r186498. It enables ExprEngine to reason about temporary object destructors. However, these destructor calls are never inlined, since this feature is still broken. Still, this is sufficient to properly handle noreturn temporary destructors. Now, the analyzer correctly handles expressions like "a || A()", and executes the destructor of "A" only on the paths where "a" evaluted to false. Temporary destructor processing is still off by default and one has to explicitly request it by setting cfg-temporary-dtors=true. Reviewers: jordan_rose CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1259 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189746 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions