4 Commits

Author SHA1 Message Date
Julian Schmidt
3b5a121a24
[clang-tidy][NFC] replace comparison of begin and end iterators with range empty (#91994)
Improves readability by changing comparisons of `*_begin` and `*_end`
iterators into `.empty()` on their range.
2024-05-15 14:35:07 +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
Piotr Zegar
c5a4f29ef0 [clang-tidy][NFC] Fix readability-container-size-empty findings
Fix issues found by clang-tidy in clang-tidy source directory.
2023-08-27 08:52:10 +00:00
Carlos Galvez
eedbe81b1c [clang-tidy] Apply cppcoreguidelines-avoid-capture-default-when-capturin-this only to by-value capture default
Since Cpp Core Guidelines have accepted the change in the rules:
3c90d590e1

Also rename the check accordingly.

Differential Revision: https://reviews.llvm.org/D148340
2023-04-15 10:10:04 +00:00