[clang-tidy] Fix false positive in modernize-pass-by-value
The check should not trigger on lvalue/rvalue overload pairs: ``` struct S { S(const A& a) : a(a) {} S(A&& a) : a(std::move(a)) {} A a; } ``` Differential Revision: https://reviews.llvm.org/D116535
Loading
Please sign in to comment