diff options
author | Ted Kremenek <kremenek@apple.com> | 2007-08-17 16:46:58 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2007-08-17 16:46:58 +0000 |
commit | 06de276fff91264437fa75111ed76de43097e089 (patch) | |
tree | f64b8c67441c8468771f4519859be86d646e729c /CodeGen/CodeGenModule.cpp | |
parent | 9cdc4d3834f203dcde3ff274b8928e4620a914d5 (diff) |
Added extra semantic checking to do basic detection of
"return of stack addresses." ParseReturnStmt now calls CheckReturnStackAddr
to determine if the expression in the return statement evaluates to an
address of a stack variable. If so, we issue a warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41141 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions