[libcxx-commits] [PATCH] D108895: [libcxx] Remove the locale fallback for NuttX
Xiang Xiao via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Aug 29 12:08:09 PDT 2021
xiaoxiang781216 created this revision.
xiaoxiang781216 requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
Since these functions can handled by NuttX's libc now
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D108895
Files:
libcxx/include/__locale
libcxx/include/__support/nuttx/xlocale.h
Index: libcxx/include/__support/nuttx/xlocale.h
===================================================================
--- libcxx/include/__support/nuttx/xlocale.h
+++ /dev/null
@@ -1,18 +0,0 @@
-// -*- C++ -*-
-//===-----------------------------------------------------------------------===//
-//
-// 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
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef _LIBCPP_SUPPORT_NUTTX_XLOCALE_H
-#define _LIBCPP_SUPPORT_NUTTX_XLOCALE_H
-
-#if defined(__NuttX__)
-#include <__support/xlocale/__posix_l_fallback.h>
-#include <__support/xlocale/__strtonum_fallback.h>
-#endif // __NuttX__
-
-#endif
Index: libcxx/include/__locale
===================================================================
--- libcxx/include/__locale
+++ libcxx/include/__locale
@@ -22,8 +22,6 @@
#if defined(_LIBCPP_MSVCRT_LIKE)
# include <cstring>
# include <__support/win32/locale_win32.h>
-#elif defined(__NuttX__)
-# include <__support/nuttx/xlocale.h>
#elif defined(_AIX) || defined(__MVS__)
# include <__support/ibm/xlocale.h>
#elif defined(__ANDROID__)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108895.369333.patch
Type: text/x-patch
Size: 1272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210829/6ac6df51/attachment.bin>
More information about the libcxx-commits
mailing list