[PATCH] D119670: [clang] Warn on unqualified calls to std::move and std::forward

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 24 10:59:08 PST 2022


rnk added a comment.

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.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119670



More information about the cfe-commits mailing list