[libcxx] Rename the now fully private header __std_stream to std_stream.h
authorMartin Storsjö <martin@martin.st>
Wed, 12 Apr 2023 07:31:34 +0000 (10:31 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 13 Apr 2023 09:03:33 +0000 (12:03 +0300)
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
libcxx/src/std_stream.h [moved from libcxx/src/__std_stream with 99% similarity]
libcxx/utils/data/ignore_format.txt

index ba9cff0..36c6894 100644 (file)
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 #include <__locale>
-#include "__std_stream"
+#include "std_stream.h"
 #include <new>
 #include <string>
 
similarity index 99%
rename from libcxx/src/__std_stream
rename to libcxx/src/std_stream.h
index e419e8c..9c15d7d 100644 (file)
@@ -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
index f2d9580..ed596ab 100644 (file)
@@ -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