commit | 568f785a76e0a21de20932abf09ce7653e651f92 | [log] [tgz] |
---|---|---|
author | Richard Trieu <rtrieu@google.com> | Mon Oct 01 17:39:51 2012 +0000 |
committer | Richard Trieu <rtrieu@google.com> | Mon Oct 01 17:39:51 2012 +0000 |
tree | 252635df0704589c838cbc38f1e155b8b7e995d8 | |
parent | ca5d78d0bc3010164f2f9682967d64d7e305a167 [diff] |
Cleaning up the self initialization checker. -Allow Sema to do more processing on the initial Expr before checking it. -Remove the special conditions in HandleExpr() -Move the code so that only one call site is needed. -Removed the function from Sema and only call it locally. -Warn on potentially evaluated reference variables, not just casts to r-values. -Update tests. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164951 91177308-0d34-0410-b5e6-96231b3b80d8