[libcxx-commits] [libcxx] [libc++][modules] Uses _LIBCPP_USING_IF_EXISTS. (PR #90409)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Wed May 1 09:03:11 PDT 2024


================
@@ -8,241 +8,241 @@
 //===----------------------------------------------------------------------===//
 
 export {
-  using ::double_t;
-  using ::float_t;
+  using ::double_t _LIBCPP_USING_IF_EXISTS;
+  using ::float_t _LIBCPP_USING_IF_EXISTS;
 
-  using ::acos;
-  using ::acosf;
-  using ::acosl;
+  using ::acos _LIBCPP_USING_IF_EXISTS;
----------------
mordante wrote:

Are we sure? I can imagine embedded platforms without floating-point support may not have these.

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


More information about the libcxx-commits mailing list