[libcxx-commits] [libcxx] [libc++][NFC] Simplify basic_ostream by combining operator<<(Arithmetic) (PR #121011)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Dec 23 15:34:26 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 b84218526d364cb9fda23bfca164d25a7b03a641 351348768b9fa0de01effb26a12a5e5725b3c353 --extensions h -- libcxx/include/__ostream/basic_ostream.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/__ostream/basic_ostream.h b/libcxx/include/__ostream/basic_ostream.h
index e898f13220..9356b66227 100644
--- a/libcxx/include/__ostream/basic_ostream.h
+++ b/libcxx/include/__ostream/basic_ostream.h
@@ -117,7 +117,7 @@ public:
if (__s) {
ios_base::fmtflags __flags = ios_base::flags() & ios_base::basefield;
- using _Fp = num_put<char_type, ostreambuf_iterator<char_type, traits_type> >;
+ using _Fp = num_put<char_type, ostreambuf_iterator<char_type, traits_type> >;
const _Fp& __facet = std::use_facet<_Fp>(this->getloc());
if (__facet
.put(*this,
``````````
</details>
https://github.com/llvm/llvm-project/pull/121011
More information about the libcxx-commits
mailing list