[libcxx-commits] [libcxx] [libc++] Fix missing 'get_new_handler()' for Windows builds (PR #150182)

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Dec 13 09:01:12 PST 2025


siradam7th wrote:

> > @frederick-vs-ja @petrhosek ping for review, this is a short one.
> 
> @siradam7th You need the ugly `[[__nodiscard__]]` for pre-C++17 cases + a test in here libcxx/test/libcxx/language.support/nodiscard.verify.cpp. Sorry about that.

Yeah, I figured, I thought there is a macro, I guess not.

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


More information about the libcxx-commits mailing list