Unverified Commit 8b326d59 authored by Qizhi Hu's avatar Qizhi Hu Committed by GitHub
Browse files

[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: default avatarhuqizhi <836744285@qq.com>
parent aeda1a6e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment