summaryrefslogtreecommitdiff
path: root/test/SemaCXX/warn-dangling-local.cpp
Commit message (Collapse)AuthorAgeFilesLines
* PR38355 Prevent infinite recursion when checking initializer lifetime ifRichard Smith2018-07-301-0/+6
| | | | | | an initializer is self-referential. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338230 91177308-0d34-0410-b5e6-96231b3b80d8
* Warn if a local variable's initializer retains a pointer/reference to aRichard Smith2018-07-241-0/+20
non-lifetime-extended temporary object. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@337790 91177308-0d34-0410-b5e6-96231b3b80d8