[libcxx-commits] [libcxx] [libc++][string] P2587R3: `to_string` or not `to_string` (PR #78100)

via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jan 14 07:30:05 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 7f1d757fb40f06cc1c6b134d770987b340286996 9a9179342a279f5617a30ad0d656b261233dd71e -- libcxx/include/version libcxx/src/string.cpp libcxx/test/std/language.support/support.limits/support.limits.general/string.version.compile.pass.cpp libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp libcxx/test/std/strings/string.conversions/to_string.pass.cpp libcxx/test/std/strings/string.conversions/to_wstring.pass.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/libcxx/test/std/strings/string.conversions/to_string.pass.cpp b/libcxx/test/std/strings/string.conversions/to_string.pass.cpp
index 092909df1a..d6f6acc670 100644
--- a/libcxx/test/std/strings/string.conversions/to_string.pass.cpp
+++ b/libcxx/test/std/strings/string.conversions/to_string.pass.cpp
@@ -179,7 +179,7 @@ void test_float_with_locale(const char* locale, T inputValue, const char* expect
 
 void test_float_with_locale() {
   // Locale "C"
-  
+
   test_float_with_locale<float>("C", 0.9084, "0.9084");
   test_float_with_locale<double>("C", 0.9084, "0.9084");
   test_float_with_locale<long double>("C", 0.9084, "0.9084");

``````````

</details>


https://github.com/llvm/llvm-project/pull/78100


More information about the libcxx-commits mailing list