[all-commits] [llvm/llvm-project] a319ea: [libc++] Provide c++03 alternative for va_copy if ...

Jason Liu via All-commits all-commits at lists.llvm.org
Thu Jul 1 11:03:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a319eafd160d8d8f3ebd47a3a636e01597b36bff
      https://github.com/llvm/llvm-project/commit/a319eafd160d8d8f3ebd47a3a636e01597b36bff
  Author: jasonliu <jasonliu.development at gmail.com>
  Date:   2021-07-01 (Thu, 01 Jul 2021)

  Changed paths:
    M libcxx/include/__support/ibm/xlocale.h

  Log Message:
  -----------
  [libc++] Provide c++03 alternative for va_copy if available in xlocale.h

Summary:
If we are on c++03 mode for some reason, and __builtin_va_copy is
available, then use it instead of error out on not having va_copy
in 03 mode.

Reviewed by: ldionne

Differential Revision: https://reviews.llvm.org/D100336




More information about the All-commits mailing list