[libcxx-commits] [PATCH] D134210: [SystemZ][z/OS] Use __builtin_zos_va_copy when _VARARG_EXT_ is not defined

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 21 13:41:25 PST 2022


ldionne added inline comments.


================
Comment at: libcxx/include/__support/ibm/xlocale.h:110
 #if defined(_LIBCPP_CXX03_LANG) && __has_builtin(__builtin_va_copy)
+#if defined(__MVS__) && !defined(_VARARG_EXT_)
+  __builtin_zos_va_copy(ap_copy, ap);
----------------
Can't you enable that extension by default in C++03?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134210/new/

https://reviews.llvm.org/D134210



More information about the libcxx-commits mailing list