[libc-commits] [libc] [libcxx] [llvm] [libcxx][libc] Hand in Hand PoC with from_chars (PR #91651)

Nikolas Klauser via libc-commits libc-commits at lists.llvm.org
Sun Oct 20 07:24:31 PDT 2024


================
@@ -262,6 +262,10 @@
 
 #define TEST_IGNORE_NODISCARD (void)
 
+#if !(defined(_LIBCPP_VERSION) && !_LIBCPP_AVAILABILITY_HAS_FROM_CHARS_FLOATING_POINT)
----------------
philnik777 wrote:

```suggestion
#if !defined(_LIBCPP_VERSION) || _LIBCPP_AVAILABILITY_HAS_FROM_CHARS_FLOATING_POINT)
```
IMO this is significantly easier to read.

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


More information about the libc-commits mailing list