[libcxx-commits] [PATCH] D148072: [libcxx] Rename the now fully private header __std_stream to std_stream.h

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Apr 12 05:07:11 PDT 2023


mstorsjo updated this revision to Diff 512786.
mstorsjo added a comment.

Fix the typo in the include directive.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148072

Files:
  libcxx/src/__std_stream
  libcxx/src/iostream.cpp
  libcxx/src/std_stream.h
  libcxx/utils/data/ignore_format.txt


Index: libcxx/utils/data/ignore_format.txt
===================================================================
--- libcxx/utils/data/ignore_format.txt
+++ libcxx/utils/data/ignore_format.txt
@@ -805,7 +805,7 @@
 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
Index: libcxx/src/std_stream.h
===================================================================
--- libcxx/src/std_stream.h
+++ 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_POP_MACROS
 
-#endif // _LIBCPP___STD_STREAM
+#endif // _LIBCPP_STD_STREAM_H
Index: libcxx/src/iostream.cpp
===================================================================
--- libcxx/src/iostream.cpp
+++ libcxx/src/iostream.cpp
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 #include <__locale>
-#include "__std_stream"
+#include "std_stream.h"
 #include <new>
 #include <string>
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148072.512786.patch
Type: text/x-patch
Size: 1320 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230412/053a0a18/attachment.bin>


More information about the libcxx-commits mailing list