[PATCH] D93981: Fix some compiler warnings

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 6 14:53:35 PST 2021


mehdi_amini added a comment.

In D93981#2481315 <https://reviews.llvm.org/D93981#2481315>, @sanjoy.google wrote:

> In D93981#2476868 <https://reviews.llvm.org/D93981#2476868>, @mehdi_amini wrote:
>
>> For `Wpessimizing-move` : is this a clang or gcc warning? I remember that they would give opposite interpretation in this case.
>
> Wow, I'd have expected this to be decided by the C++ standard.  This is from GCC I believe.

Here is the thread I remembered reading this from FYI: https://lists.llvm.org/pipermail/llvm-dev/2018-September/126422.html


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93981



More information about the llvm-commits mailing list