Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [analyzer] Associate diagnostics created in checkEndFunction with a return ↵ | George Karpenkov | 2018-09-21 | 1 | -2/+2 |
| | | | | | | | | | | statement, if possible If not possible, use the last line of the declaration, as before. Differential Revision: https://reviews.llvm.org/D52326 llvm-svn: 342768 | ||||
* | [analyzer] Detect pointers escaped after ReturnStmt execution in MallocChecker. | Reka Kovacs | 2018-08-02 | 1 | -0/+21 |
Objects local to a function are destroyed right after the statement returning (part of) them is executed in the analyzer. This patch enables MallocChecker to warn in these cases. Differential Revision: https://reviews.llvm.org/D49361 llvm-svn: 338780 |