[clang] [LifetimeSafety][NFC] Skip dataflow when it has no effect on the diagnostics (PR #246885)

via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 29 12:58:41 PST 2026


NeKon69 wrote:

This change needs a bit of discussion because it might be difficult to maintain something like this; the initial patch I submitted might not be the cleanest solution either. I'm fully open to any suggestions!
Note that this optimization was found by AI and I just made the code a bit cleaner.
@usx95 @Xazax-hun @steakhal

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


More information about the cfe-commits mailing list