[libcxx-commits] [libcxx] [libc++] Annotate {set, get}_terminate to return non-null pointers (PR #169492)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Dec 1 07:20:17 PST 2025


https://github.com/ldionne requested changes to this pull request.

Since the standard actually allows us to return null, I wouldn't bake this into the declaration: https://en.cppreference.com/w/cpp/error/set_terminate.html

Since the benefit is likely small anyway, I would suggest not moving forward with this patch.

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


More information about the libcxx-commits mailing list