summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2013-07-03 08:23:49 +0000
committerPavel Labath <labath@google.com>2013-07-03 08:23:49 +0000
commit2a02f4d535ddae30898f013649d8c1902082921c (patch)
treeb01c54f95413b973ec55d6ff8ddcfe1bc86c29e8 /lib/CodeGen/CGExpr.cpp
parent78148e77577ce40513dfd303da54161cdc22855e (diff)
downloadclang-2a02f4d535ddae30898f013649d8c1902082921c.tar.gz
clang-2a02f4d535ddae30898f013649d8c1902082921c.tar.bz2
clang-2a02f4d535ddae30898f013649d8c1902082921c.tar.xz
[analyzer] Improve handling of noreturn destructors
Summary: The analyzer incorrectly handled noreturn destructors which were hidden inside function calls. This happened because NoReturnFunctionChecker only listened for PostStmt events, which are not executed for destructor calls. I've changed it to listen to PostCall events, which should catch both cases. Reviewers: jordan_rose CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1056 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185522 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions