[clang] [alpha.webkit.UncountedLocalVarsChecker] Allow uncounted object references within trivial statements (PR #82229)

Artem Dergachev via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 20 21:09:51 PST 2024


haoNoQ wrote:

Ooo interesting. I want to spend a bit more time thinking whether this has to go into every callback, maybe it can be a set-and-forget thing? (Probably not.)

Also it might be a good idea to cache only statements that may ever get directly queried. (This seems to be exactly necessary and sufficient.) For now they're just the 5 control flow statements right? Maybe add caching to these 5 callbacks and skip the rest? (I suspect it may matter for performance as well, dunno hard to tell though.)

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


More information about the cfe-commits mailing list