[all-commits] [llvm/llvm-project] 77793e: [libc++] newlib/xlocale.h: remove redundant includes

Michael Platings via All-commits all-commits at lists.llvm.org
Mon Oct 31 00:41:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77793ee33a7db6e1a12eafc20cc560a86e48a1bf
      https://github.com/llvm/llvm-project/commit/77793ee33a7db6e1a12eafc20cc560a86e48a1bf
  Author: Michael Platings <michael.platings at arm.com>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

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

  Log Message:
  -----------
  [libc++] newlib/xlocale.h: remove redundant includes

This permits using the <locale> header with newlib or picolibc when
LIBCXX_ENABLE_WIDE_CHARACTERS=FALSE.

Since D136682 the __support/xlocale headers themselves include the
headers they require, respecting the LIBCXX_ENABLE_WIDE_CHARACTERS
option.

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




More information about the All-commits mailing list