[clang-tools-extra] [clang-tidy] Add new check 'misc-scope-reduction' (PR #175429)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 14 10:55: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
----------------
vabridgers wrote:

I believe this has been addressed. Resolving.

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


More information about the cfe-commits mailing list