summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/warn-self-move.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Extend the self move warning to record types.Richard Trieu2015-01-131-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 Trieu2015-01-101-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
OpenPOWER on IntegriCloud