================ @@ -0,0 +1,494 @@ +// Exceptions-enabled variant of cleanup-conditional.cpp. +// When -fcxx-exceptions is active, cleanup scopes use "cleanup all" (both +// normal and exception paths) and the LLVM lowering emits invoke/landingpad +// instead of plain calls for operations that can throw. +// ---------------- bcardosolopes wrote:
Should this add test for nested ternaries `(c1 ? (c2 ? A() : B()).get() : x)` too? https://github.com/llvm/llvm-project/pull/191479 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
