[PATCH] D65774: Removing redundant-move warnings generated by gcc9x.

Thomas Preud'homme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 13:49:02 PDT 2019


thopre added inline comments.
Herald added a subscriber: rnkovacs.


================
Comment at: llvm/lib/Support/FileCheck.cpp:345
 
-  return std::move(ExpressionAST);
+  return ExpressionAST;
 }
----------------
I fixed a build failure with -Werror where GCC was the host compiler by doing the reverse change. So this change would most likely result on build failure when host compiler is GCC <9.x


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65774/new/

https://reviews.llvm.org/D65774





More information about the llvm-commits mailing list