erichkeane added a comment.

In D119670#3343718 <https://reviews.llvm.org/D119670#3343718>, @rnk wrote:

> This broke our libc++ -Werror build:
>
>   llvm-project/libcxx/src/filesystem/directory_iterator.cpp:107:57: error: 
> unqualified call to std::move [-Werror,-Wunqualified-std-cast-call]
>                                                   
> __root_(move(other.__root_)),
>                                                           ^
>                                                           std::
>
> We can disable the warning, but we look forward to an upstream resolution.

This is exactly the kind of case that this warning is designed to catch.  
Unqualified calls std::move is what we're trying to catch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119670

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to