Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Extend the self move warning to record types. | Richard Trieu | 2015-01-13 | 1 | -0/+15 |
| | | | | | | | Move the logic for checking self moves into SemaChecking and add that function to Sema since it is now used in multiple places. llvm-svn: 225756 | ||||
* | Add a new warning, -Wself-move, to Clang. | Richard Trieu | 2015-01-10 | 1 | -0/+40 |
-Wself-move is similiar to -Wself-assign. This warning is triggered when a value is attempted to be moved to itself. See r221008 for a bug that would have been caught with this warning. llvm-svn: 225581 |