diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-02-26 15:43:34 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-02-26 15:43:34 +0000 |
commit | 6190ec29f0895185bbec95a932429b8832917fec (patch) | |
tree | 63477f839fca5db0b1f38141cdd166e455241ed9 /lib/Sema/SemaChecking.cpp | |
parent | f84df9f076038ad16e1ee412162c328cd091bc59 (diff) |
Use a GDM to record the returned expression in the state when VisitReturnStmt.
Use this information to find the returned value and bind it to CallExpr in
ProcessCallExit.
And there is no need to remove dead bindings in ProcessCallExit, because
a. it would clean up the return value bound to CallExpr
b. we still would do it in the next ProcessStmt(), where we would not misclean
up the return value.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97225 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions