[clang-tools-extra] [clang-tidy][readability-identifier-length] Add a line count threshold (PR #185319)

Alex Dutka via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 11 10:28:26 PDT 2026


================
@@ -121,3 +122,16 @@ The following options are described below:
       catch (const std::exception& e) {
           // ...
       }
+
+.. option:: LineCountThreshold
+
+    Defines the minimum number of lines required between declaration and last
+    use for a diagnostic to be issued. The default value is 0.
----------------
dutkalex wrote:

Done

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


More information about the cfe-commits mailing list