Code cleanup: Remove std::move() around xvalue (NFC)
authorLogan Chien <tzuhsiang.chien@gmail.com>
Mon, 22 Jun 2015 23:16:02 +0000 (23:16 +0000)
committerLogan Chien <tzuhsiang.chien@gmail.com>
Mon, 22 Jun 2015 23:16:02 +0000 (23:16 +0000)
commit3755f9f48cede35aea7ad909105ea84564108827
tree7129cde7da665187ef77c5b14cbec4d430db1022
parent08056a49f10d411c010fa450f86732ff87f5cf49
Code cleanup: Remove std::move() around xvalue (NFC)

Remove std::move() around xvalue so that copy elision is eligible.
In case that copy elision is not appliable, the c++ standard also
guarantees the move semantics on xvalue.  Thus, it is not necessary
to wrap Args with std::move.

This also silence a warning since r240345.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240355 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Option/OptTable.cpp