Add a lint check for returning the address of stack memory.
authorDan Gohman <gohman@apple.com>
Fri, 28 May 2010 04:33:42 +0000 (04:33 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 28 May 2010 04:33:42 +0000 (04:33 +0000)
commit292fc87fe2f1611e7c83a61796ab71db6a0f7d97
tree8344299ed3991fdb6d170614ef35555d0edc10f3
parent28d2e0a39fb0dccb62a08520791070d13339d6e1
Add a lint check for returning the address of stack memory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104936 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/Lint.cpp
test/Other/lint.ll