clover/llvm: remove harmful std::move call
authorKarol Herbst <kherbst@redhat.com>
Fri, 20 Sep 2019 10:43:10 +0000 (12:43 +0200)
committerKarol Herbst <karolherbst@gmail.com>
Wed, 25 Sep 2019 10:39:58 +0000 (10:39 +0000)
commit2859c49f7b229db4a37b7c10fab739dbc96922cd
tree48fc5cd9f25177f217087ee2887a912fc5bb1742
parentf4d9169204e1b83f87779a350dd23501a085b36c
clover/llvm: remove harmful std::move call

both clang and gcc warn with:
"moving a local object in a return statement prevents copy elision"

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Pierre Moreau <dev@pmoreau.org>
src/gallium/state_trackers/clover/llvm/invocation.cpp