commit | 96eabe0838ccd1d5a5d24a648b932763cdf3fa31 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Mon Aug 27 16:39:17 2007 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Mon Aug 27 16:39:17 2007 +0000 |
tree | 310920ccf5d607c28ba7e933869d0df34eeae5a5 | |
parent | 9cff1a9ac25f2b1386d3157e8daa0b219573d6a6 [diff] |
Updated checker for "return of address of stack variable" to look for implicit casts from T to T& at the topmost part of the return-value expression. This checking may be needed within EvalAddr later on. We'll wait until test cases show this kind of logic is necessary (as more C++ features are implemented in clang). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41493 91177308-0d34-0410-b5e6-96231b3b80d8