[PATCH] New warning -Wpessimizing-move to catch when removing calls to std::move prevent optimization
Richard Trieu
rtrieu at google.com
Wed Apr 22 16:55:04 PDT 2015
Consolidate the checking to SemaInit.cpp
Ass warning for redundant move on return
http://reviews.llvm.org/D7633
Files:
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaInit.cpp
test/SemaCXX/warn-pessmizing-move.cpp
test/SemaCXX/warn-redundant-move.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7633.24262.patch
Type: text/x-patch
Size: 11549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150422/61bd4b2c/attachment.bin>
More information about the cfe-commits
mailing list