[clang] [alpha.webkit.UncountedLocalVarsChecker] Don't warning on inlined functions (PR #90733)
Mikhail R. Gadelha via cfe-commits
cfe-commits at lists.llvm.org
Wed May 1 07:34:47 PDT 2024
mikhailramalho wrote:
@rniwa we noticed quite a drop in the warnings when using this patch, but we understand that there is another approach to handle inline functions: to add the `SUPPRESS_UNCOUNTED_LOCAL` to local variables inside these functions, like it was done here: https://github.com/WebKit/WebKit/pull/27870/files#diff-33ee084014f64a3d61fecb03211318d0d48dfa8f5b4ef6f4364fc2ab0364f9ebL137
Please let me know what you think of these approaches. If you prefer the macro one, I can close this PR and open another one.
https://github.com/llvm/llvm-project/pull/90733
More information about the cfe-commits
mailing list