[clang-tools-extra] [clang-tidy] Add readability-use-span-first-last check (PR #118074)

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 30 03:11:09 PST 2024


================
@@ -172,6 +173,8 @@ class ReadabilityModule : public ClangTidyModule {
         "readability-use-anyofallof");
     CheckFactories.registerCheck<UseStdMinMaxCheck>(
         "readability-use-std-min-max");
+    CheckFactories.registerCheck<UseSpanFirstLastCheck>(
+        "readability-use-span-first-last");
----------------
5chmidti wrote:

Please move this up one entry, so that the list is alphabetically sorted

https://github.com/llvm/llvm-project/pull/118074


More information about the cfe-commits mailing list