[libcxx-commits] [libcxx] [libc++] __need_infinity_nan doesn't work in non-gnu c++ standards (PR #172539)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 6 10:13:29 PST 2026


================
@@ -0,0 +1,49 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// gcc supports "partitial inclusion" of some builtin headers via __need macros.
----------------
ldionne wrote:

```suggestion
// gcc supports "partial inclusion" of some builtin headers via __need macros.
```

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


More information about the libcxx-commits mailing list