]> granicus.if.org Git - clang/commit
Have -Wredundant-move ignore reference types.
authorRichard Trieu <rtrieu@google.com>
Mon, 18 May 2015 19:54:08 +0000 (19:54 +0000)
committerRichard Trieu <rtrieu@google.com>
Mon, 18 May 2015 19:54:08 +0000 (19:54 +0000)
commit546816fb4dd0b7df8b6fc72f87e07da74dc48ef1
tree5e83de67e1de6f2a5a4850b1906065fa06a88471
parent6219f10c6f7200df306c742957436912c2d53c0c
Have -Wredundant-move ignore reference types.

Don't give a warning when the type being moved is a reference type.  Also
uncomment two lines in the test case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@237607 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaInit.cpp
test/SemaCXX/warn-redundant-move.cpp