[libcxx-commits] [libcxx] granularize locale (PR #83735)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Mar 3 10:28:02 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 0c89427b99f6f6d7c217c70ff880ca097340f9a4 2e622cffbaa075f92304091bbab7c24eee1f7d37 -- libcxx/include/__locale_dir/codecvt.h libcxx/include/__locale_dir/codecvt_base.h libcxx/include/__locale_dir/codecvt_byname.h libcxx/include/__locale_dir/collate.h libcxx/include/__locale_dir/collate_byname.h libcxx/include/__locale_dir/ctype.h libcxx/include/__locale_dir/ctype_base.h libcxx/include/__locale_dir/ctype_byname.h libcxx/include/__locale_dir/locale.h libcxx/include/__locale_dir/narrow_to_utf8.h libcxx/include/__locale_dir/numpunct.h libcxx/include/__locale_dir/numpunct_byname.h libcxx/include/__locale_dir/traits.h libcxx/include/__locale_dir/widen_from_utf8.h libcxx/include/__config libcxx/include/__format/formatter_bool.h libcxx/include/__format/formatter_integral.h libcxx/include/__locale_dir/locale_base_api.h libcxx/include/__locale_dir/locale_base_api/bsd_locale_fallbacks.h libcxx/include/__locale_dir/locale_base_api/locale_guard.h libcxx/include/__locale_dir/locale_base_api/win32.h libcxx/include/__utility/swap.h libcxx/include/codecvt libcxx/include/fstream libcxx/include/ios libcxx/include/locale libcxx/include/regex libcxx/src/ios.cpp libcxx/src/iostream.cpp libcxx/src/std_stream.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/src/ios.cpp b/libcxx/src/ios.cpp
index 79af7b36b3..1a8dfd8347 100644
--- a/libcxx/src/ios.cpp
+++ b/libcxx/src/ios.cpp
@@ -7,10 +7,10 @@
//===----------------------------------------------------------------------===//
#include <__config>
-#include <locale>
#include <algorithm>
#include <ios>
#include <limits>
+#include <locale>
#include <memory>
#include <new>
#include <stdlib.h>
``````````
</details>
https://github.com/llvm/llvm-project/pull/83735
More information about the libcxx-commits
mailing list