[cfe-dev] Should clang-tidys 'use-after-move' consider std::forward

Jonas Toth via cfe-dev cfe-dev at lists.llvm.org
Tue Sep 12 08:15:46 PDT 2017


Hello everybody,

when reading the code for `misc-use-after-move` in clang-tidy i saw,
that the check explicitly matches "std::move", but not "std::forward".
Since "std::forward" is a conditional move, shouldn't it be matched as
well, or is it implicitly caught?

Regards, Jonas




More information about the cfe-dev mailing list