[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 10:49:05 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
----------------
vabridgers wrote:

I believe this is addressed, so resolving

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


More information about the cfe-commits mailing list