[clang] [alpha.webkit.UncountedLocalVarsChecker] Detect assignments to uncounted local variable and parameters. (PR #92639)

Ryosuke Niwa via cfe-commits cfe-commits at lists.llvm.org
Thu May 23 22:07:13 PDT 2024


rniwa wrote:

> (It might be a good idea to add comments to those parts of the code to make sure the reader knows that it was intentional.)

Ok, I was gonna say I'd add tests and then realized that the error message says "local variable" to both static local as well as global variables. That's probably misleading so will correct that.

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


More information about the cfe-commits mailing list