[libcxx-commits] [libcxx] [libc++] Do not forward-declare syncstream outside experimental (PR #82511)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Feb 27 14:37:16 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff deaf53e632f37be1e4f7a57959c35fcae161b141 59c8aef2b241453c4b0220133c06d1c34591f5ac -- libcxx/include/iosfwd libcxx/modules/std/iosfwd.inc
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/modules/std/iosfwd.inc b/libcxx/modules/std/iosfwd.inc
index 44759efd15..628e014900 100644
--- a/libcxx/modules/std/iosfwd.inc
+++ b/libcxx/modules/std/iosfwd.inc
@@ -30,10 +30,10 @@ export namespace std {
using std::osyncstream;
using std::syncbuf;
-# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
+# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
using std::wosyncstream;
using std::wsyncbuf;
-# endif
+# endif
#endif
using std::fpos;
``````````
</details>
https://github.com/llvm/llvm-project/pull/82511
More information about the libcxx-commits
mailing list