diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-06-15 09:57:09 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-06-15 09:57:09 +0200 |
| commit | 1ed9b1da185da095ac6fec018382cc3463d09657 (patch) | |
| tree | 0affa642b6a1f8e1b0b1d70f998e0f32164932bf | |
| parent | b6fa48edbdb916022739e792b5140f42b430c469 (diff) | |
| download | kernel-1ed9b1da185da095ac6fec018382cc3463d09657.tar.xz kernel-1ed9b1da185da095ac6fec018382cc3463d09657.zip | |
ide: enable ranges modernization lint
| -rw-r--r-- | .clang-tidy | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy index f4b0b7b..0be16fb 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -49,6 +49,7 @@ Checks: - modernize-use-nullptr - modernize-use-override - modernize-use-std-print + - modernize-use-std-ranges - modernize-use-trailing-return-type - modernize-use-transparent-functors - modernize-use-using @@ -65,6 +66,8 @@ CheckOptions: modernize-use-std-print.ReplacementPrintlnFunction: "kstd::println" modernize-use-std-print.PrintHeader: "kstd/print" + modernize-use-std-ranges.UseReversePipe: true + modernize-use-trailing-return-type.TransformLambdas: none readability-identifier-naming.CheckAnonFieldInParent: true |
