]> granicus.if.org Git - clang/commit
Extend the self move warning to record types.
authorRichard Trieu <rtrieu@google.com>
Tue, 13 Jan 2015 02:32:02 +0000 (02:32 +0000)
committerRichard Trieu <rtrieu@google.com>
Tue, 13 Jan 2015 02:32:02 +0000 (02:32 +0000)
commit85f2b4c24c7b307e65000b79c020cade580f8e48
tree867fd982f496379247081f1b657e4c9a20a9c8cb
parent12421c320c160d193726f50f4d53f1457d0e905f
Extend the self move warning to record types.

Move the logic for checking self moves into SemaChecking and add that function
to Sema since it is now used in multiple places.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@225756 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/SemaChecking.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaOverload.cpp
test/SemaCXX/warn-self-move.cpp