[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:18 PDT 2026


================
@@ -466,6 +466,11 @@ Changes in existing checks
   now uses separate note diagnostics for each uninitialized enumerator, making
   it easier to see which specific enumerators need explicit initialization.
 
+- Improved :doc:`readability-identifier-length
+  <clang-tidy/checks/readability/identifier-length>` check by adding a new
+  option to silence warnings for short-lived variables, based on distance
----------------
dutkalex wrote:

Done

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


More information about the cfe-commits mailing list