Congcong Cai
aaadaee7b2
[clang-tidy] remove misuse of getLocalOrGlobal
for non common used options ( #119948 )
...
[RFC](https://discourse.llvm.org/t/rfc-global-option-rules-for-clang-tidy/83647 )
2024-12-15 05:04:32 +08:00
Piotr Zegar
20d210285b
[clang-tidy] Ignore deleted functions in cppcoreguidelines-rvalue-reference-param-not-moved ( #69514 )
...
Ignore functions and constructors that are maked deleted or defaulted in
cppcoreguidelines-rvalue-reference-param-not-moved check.
Fixes #69412
2023-10-25 20:41:19 +02:00
AMS21
bb6a98c8d2
[clang-tidy] Ignore unused parameters in rvalue-reference-param-not-moved check
( #69045 )
...
With this patch we no longer issue a warning for unused parameters which
are marked as such.
This fixes #68209
2023-10-14 22:51:50 +02:00
Piotr Zegar
01c8bf6fd4
[clang-tidy][NFC] Fix llvm-else-after-return findings
...
Fix issues found by clang-tidy in clang-tidy source directory.
2023-08-27 11:59:02 +00:00
Chris Cotter
bd7628461b
[clang-tidy] Ignore unevaluated exprs in rvalue-reference-param-not-moved
...
Ignore unevaluated expressions in rvalue-reference-param-not-moved
check since they are not actual uses of a move().
Reviewed By: PiotrZSL
Differential Revision: https://reviews.llvm.org/D146929
2023-03-28 07:05:12 +00:00
Chris Cotter
c491c91702
[clang-tidy] Implement CppCoreGuideline F.18
...
Warn when an rvalue reference function paramter is never moved
from within the function body.
Reviewed By: carlosgalvezp
Differential Revision: https://reviews.llvm.org/D141569
2023-03-12 16:58:08 +00:00