commit | 68957a919084ab8bbd1f01d534db1d6f31d0f459 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Wed Aug 04 20:01:07 2010 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Wed Aug 04 20:01:07 2010 +0000 |
tree | d462c36a2c98525cf56f2bf33443c2bf2ba06f62 | |
parent | 44034db24bf59a53aa7699f4bbf59b939710bb3c [diff] |
Teach SemaChecking::CheckReturnStackAddr about ImplicitCastExprs that convert values to an lvalue. This allows us to warn (again) about returning references to stack variables. (fixes PR 7812). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110242 91177308-0d34-0410-b5e6-96231b3b80d8