gccrs icon indicating copy to clipboard operation
gccrs copied to clipboard

Implement unused variable checker on HIR

Open lucasly-ba opened this issue 1 month ago • 2 comments

This is the prolongation of PR #4055, since it might be outdated.

lucasly-ba avatar Nov 12 '25 13:11 lucasly-ba

gcc/rust/ChangeLog:

	* Make-lang.in: New file.

This is misleading. "New file" is idiomatic for "this is a new file". You probably meant "I've added new file rules in the makefile". Can you rephrase that and make it less confusing? Thanks!

dkm avatar Nov 13 '25 10:11 dkm

minor style nit.. i would be interested how bad are the regressions when you force this to be the only unused variable checker?

With this command : grep -r "unused name" ./ | wc -l It gives us 211 lines in the testsuite

lucasly-ba avatar Nov 18 '25 01:11 lucasly-ba