[clang-tools-extra] [clang-tidy] Add AllowImplicitMove option to rvalue-reference-param-not-moved (PR #190541)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sun May 10 10:28:13 PDT 2026


================
@@ -51,6 +51,17 @@ Options
       pair<Obj, Obj> other = std::move(p);
     }
 
+.. option:: AllowImplicitMove
----------------
vbvictor wrote:

I thought we should make distinction between "visible move" and "implicit move", e.g. someone would prefer to still have this.

Moreover, since p1825 is relatively "new" paper, some older compilers (prior 2019) maybe still don't have support for p1825 so users need to have "move" spelled out.

https://github.com/llvm/llvm-project/pull/190541


More information about the cfe-commits mailing list