commit | 319cf405cc482a41018a6128b8b8e01ab162c700 | [log] [tgz] |
---|---|---|
author | Qizhi Hu <836744285@qq.com> | Wed Mar 06 09:27:32 2024 +0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Mar 05 17:31:58 2024 -0800 |
tree | 977e3999784c7de7bb9492ffdfd2e2c6a964f03d | |
parent | 3d91c2c0a5be835b22e9ef5af58f50c3d4ec98ed [diff] |
[clang-tidy] fix false negative in cppcoreguidelines-missing-std-forward (#83987) Try to fix https://github.com/llvm/llvm-project/issues/83845 When `std::forward` is invoked in a function, make sure it uses correct parameter by checking if the bounded `var` equals the parameter. Co-authored-by: huqizhi <836744285@qq.com> GitOrigin-RevId: 8b326d59467b941831942c651c585055b3d512e4