[clang] [LifetimeSafety] Introduce buildOriginFlowChain for use-after-scope (PR #199345)
Gábor Horváth via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 10 08:21:23 PDT 2026
Xazax-hun wrote:
> I had shouldShowInAliasChain for this purpose specifically. We can explicitly mark expressions which make the warnings verbose and less useful.
I see, that makes sense. Do you think it would make sense to include that in this PR or should that be a separate one?
I wonder if it would make sense to do it here so it would reduce the churn in the test cases with the notes (adding and removing).
I think the first list could be fairly small, like assignment, compound assignment, any kinds of calls?
https://github.com/llvm/llvm-project/pull/199345
More information about the cfe-commits
mailing list