On Tue, 4 Apr 2023, LIU Hao wrote:

在 2023-04-03 19:03, Martin Storsjö 写道:
This allows the compiler to understand that constructs such as
assert(0) won't return.

This fixes warnings (treated as errors) about a missing return in
https://github.com/llvm/llvm-project/blob/llvmorg-16.0.0/libcxxabi/test/cxa_vec_new_overflow_PR41395.pass.cpp#L21

Signed-off-by: Martin Storsjö <[email protected]>
---
  mingw-w64-headers/crt/assert.h | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)


LGTM, thanks.

Pushed, thanks.

// Martin

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to