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)
commit9d5891fd3422ff63fa2e851ae99cfb19c31206ce
tree5bab8e1a1501231ab9c89b4cfa84ead7a859bb45
parentffb2d44ab93184a723e37793efc50ddafc5afbe1
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.

llvm-svn: 240355
llvm/lib/Option/OptTable.cpp