From 40a187bb622959023f751ec3a11f2af5fa8b48fa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20Storsj=C3=B6?= Date: Wed, 12 Apr 2023 10:31:34 +0300 Subject: [PATCH] [libcxx] Rename the now fully private header __std_stream to std_stream.h When this header now is a fully regular header within the src tree, give it a more regular name. Differential Revision: https://reviews.llvm.org/D148072 --- libcxx/src/iostream.cpp | 2 +- libcxx/src/{__std_stream => std_stream.h} | 6 +++--- libcxx/utils/data/ignore_format.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename libcxx/src/{__std_stream => std_stream.h} (99%) diff --git a/libcxx/src/iostream.cpp b/libcxx/src/iostream.cpp index ba9cff0..36c6894 100644 --- a/libcxx/src/iostream.cpp +++ b/libcxx/src/iostream.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include <__locale> -#include "__std_stream" +#include "std_stream.h" #include #include diff --git a/libcxx/src/__std_stream b/libcxx/src/std_stream.h similarity index 99% rename from libcxx/src/__std_stream rename to libcxx/src/std_stream.h index e419e8c..9c15d7d 100644 --- a/libcxx/src/__std_stream +++ b/libcxx/src/std_stream.h @@ -7,8 +7,8 @@ // //===----------------------------------------------------------------------===// -#ifndef _LIBCPP___STD_STREAM -#define _LIBCPP___STD_STREAM +#ifndef _LIBCPP_STD_STREAM_H +#define _LIBCPP_STD_STREAM_H #include <__config> #include <__locale> @@ -358,4 +358,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___STD_STREAM +#endif // _LIBCPP_STD_STREAM_H diff --git a/libcxx/utils/data/ignore_format.txt b/libcxx/utils/data/ignore_format.txt index f2d9580..ed596ab 100644 --- a/libcxx/utils/data/ignore_format.txt +++ b/libcxx/utils/data/ignore_format.txt @@ -805,7 +805,7 @@ libcxx/src/random_shuffle.cpp libcxx/src/regex.cpp libcxx/src/shared_mutex.cpp libcxx/src/stdexcept.cpp -libcxx/src/__std_stream +libcxx/src/std_stream.h libcxx/src/string.cpp libcxx/src/strstream.cpp libcxx/src/support/ibm/mbsnrtowcs.cpp -- 2.7.4