[PATCH] D94658: Remove redundant move call in return statements

Thomas Preud'homme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 14 02:20:09 PST 2021


thopre added a comment.

In D94658#2497570 <https://reviews.llvm.org/D94658#2497570>, @RKSimon wrote:

> I'm not certain but I thought some of these moves had to be kept to appease old versions of gcc - but I can't remember any details.

I'm pretty sure the std::move I added in FileCheck were because of warning I had on my machine (Ubuntu 18.04). I'll try to give the patch a spin and report.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94658



More information about the llvm-commits mailing list