Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0 |
|
#
2f321fac |
| 11-Sep-2024 |
Julian Schmidt <git.julian.schmidt@gmail.com> |
[NFC][clang-tidy] fix tests of deleted functions for missing-std-forward (#106861)
Since #87832, unnamed identifiers are excluded from being diagnosed. As
a result, the tests that were supposed to
[NFC][clang-tidy] fix tests of deleted functions for missing-std-forward (#106861)
Since #87832, unnamed identifiers are excluded from being diagnosed. As
a result, the tests that were supposed to test that deleted functions
are correctly ignored, are ignored because of the unnamed identifiers
instead of the deleted function. This change simply introduces names for
the parameters of the deleted functions.
show more ...
|
Revision tags: llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init, llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4 |
|
#
16b3e43a |
| 08-Apr-2024 |
Danny Mösch <danny.moesch@icloud.com> |
[clang-tidy] Ignore non-forwarded arguments if they are unused (#87832)
|
Revision tags: llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1 |
|
#
8b326d59 |
| 06-Mar-2024 |
Qizhi Hu <836744285@qq.com> |
[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 sur
[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>
show more ...
|
#
7b11e2ec |
| 27-Feb-2024 |
AMS21 <AMS21.github@gmail.com> |
[clang-tidy] Fix `cppcoreguidelines-missing-std-forward` false positive for deleted functions (#83055)
Improved check by no longer giving false positives for deleted functions.
|
Revision tags: llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init |
|
#
d0848292 |
| 06-Jan-2024 |
Qizhi Hu <836744285@qq.com> |
[clang-tidy] fix false positive in cppcoreguidelines-missing-std-forward (#77056)
Parameter variable which is forwarded in lambda capture list or in body
by reference is reasonable and current vers
[clang-tidy] fix false positive in cppcoreguidelines-missing-std-forward (#77056)
Parameter variable which is forwarded in lambda capture list or in body
by reference is reasonable and current version of this check produces
false positive on these cases. This patch try to fix the
[issue](https://github.com/llvm/llvm-project/issues/68105)
Co-authored-by: huqizhi <836744285@qq.com>
show more ...
|
Revision tags: llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4 |
|
#
5902bb95 |
| 06-May-2023 |
Chris Cotter <ccotter14@bloomberg.net> |
[clang-tidy] Implement cppcoreguidelines F.19
Warns when a function accepting a forwarding reference does anything besides forwarding (with std::forward) the parameter in the body of the function.
[clang-tidy] Implement cppcoreguidelines F.19
Warns when a function accepting a forwarding reference does anything besides forwarding (with std::forward) the parameter in the body of the function.
Reviewed By: PiotrZSL
Differential Revision: https://reviews.llvm.org/D146921
show more ...
|