summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/end-function-return-stmt.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [analyzer] Obtain a ReturnStmt from a CFGAutomaticObjDtor.Reka Kovacs2018-08-021-0/+34
The CoreEngine only gives us a ReturnStmt if the last element in the CFGBlock is a CFGStmt, otherwise the ReturnStmt is nullptr. This patch adds support for the case when the last element is a CFGAutomaticObjDtor, by returning its TriggerStmt as a ReturnStmt. Differential Revision: https://reviews.llvm.org/D49811 llvm-svn: 338777
OpenPOWER on IntegriCloud