[clang] [LifetimeSafety] Don't run TU analysis when no lifetime diagnostic is enabled (PR #245557)

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 24 03:20:53 PST 2026


https://github.com/Xazax-hun commented:

Now I am second guessing myself a bit. I think even if the analysis itself is not turned on for a function we might still want to run parts of it, namely we want to infer the lifetime annotations (potentially) so the callees have this information. Could we still run the analysis when lifetime annotation inference is on? 

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


More information about the cfe-commits mailing list