even if we know what the result is going to be.
There may be side effects we ought not to ignore,
Fixes #64923
Differential D158601
[Clang] Always constant-evaluate operands of comparisons to nullptr cor3ntin on Aug 23 2023, 5:26 AM. Authored by
Details even if we know what the result is going to be. Fixes #64923
Diff Detail
Event Timeline
Comment Actions For coroutine support, I don't think it is needed. It is a pretty corner case and Tobias had mentioned there are too many back ports now (https://discourse.llvm.org/t/llvm-17-0-0-rc3-released/72946). Although he doesn't throw any requirement to us, I think it may better to lift our bar for backporting patches now. Comment Actions Gotcha. Given there are other stuffs I need to backport, this will have to wait clang 18! I don't want to give undue work to tobias and testers. |
I kinda expected the fix for this bug to simply remove a special case... does just falling through to the DoAfter() call not work?