Add ASSERT_NOT_REACHED_WITH_MESSAGE and RELEASE_ASSERT_NOT_REACHED_WITH_MESSAGE to allow adding a message to code paths not expected to be reached, or to avoid the need to use a dummy assertion of 0 or false for the same effect.
Created attachment 384033 [details] proposed patch
Created attachment 384043 [details] proposed patch address issues brought up in review.
Comment on attachment 384043 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=384043&action=review > Source/WTF/wtf/Assertions.h:315 > +#define ASSERT_NOT_REACHED_WITH_MESSAGE(...) ((void)0) This too should be inside #ifdef __cplusplus for consistency.
Created attachment 384044 [details] proposed patch cleanup
Comment on attachment 384044 [details] proposed patch Clearing flags on attachment: 384044 Committed r252731: <https://trac.webkit.org/changeset/252731>
All reviewed patches have been landed. Closing bug.
<rdar://problem/57391975>