[clang] [Clang] Add pragma to selectively disable variable lifetime extension (PR #241298)

David Blaikie via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 11 13:57:53 PST 2026


dwblaikie wrote:

Haven't looked/thought about this in detail - but it does seem a bit unfortunate that this ends up being a separate lever from optnone. Certainly more flexible/configurable, but more surface area too... (it probably shouldn't be in optnone - becauseit's not just disabling optimizations, but actually pessimising the code). Wonder if there's any other direction to consider that might help avoid having even more individual levers folks have to learn about/we have to maintain.

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


More information about the cfe-commits mailing list