[clang-tools-extra] [clang-tidy] Add new check 'misc-scope-reduction' (PR #175429)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 11 07:40:47 PST 2026
================
@@ -0,0 +1,51 @@
+.. title:: clang-tidy - misc-scope-reduction
+
+misc-scope-reduction
+====================
+
+Detects local variables in functions whose scopes can be minimized. This check
----------------
EugeneZelenko wrote:
Please synchronize first statement with statement in Release Notes. References to coding standards should be at the end of documentation.
https://github.com/llvm/llvm-project/pull/175429
More information about the cfe-commits
mailing list