[libcxx-commits] [PATCH] D136947: [libc++] newlib/xlocale.h: remove redundant includes

Michael Platings via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Oct 31 00:41:52 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG77793ee33a7d: [libc++] newlib/xlocale.h: remove redundant includes (authored by michaelplatings).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136947

Files:
  libcxx/include/__support/newlib/xlocale.h


Index: libcxx/include/__support/newlib/xlocale.h
===================================================================
--- libcxx/include/__support/newlib/xlocale.h
+++ libcxx/include/__support/newlib/xlocale.h
@@ -11,10 +11,6 @@
 
 #if defined(_NEWLIB_VERSION)
 
-#include <cstdlib>
-#include <clocale>
-#include <cwctype>
-#include <ctype.h>
 #if !defined(__NEWLIB__) || __NEWLIB__ < 2 || \
     __NEWLIB__ == 2 && __NEWLIB_MINOR__ < 5
 #include <__support/xlocale/__nop_locale_mgmt.h>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136947.471913.patch
Type: text/x-patch
Size: 486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221031/61e76264/attachment.bin>


More information about the libcxx-commits mailing list