[libcxx-commits] [libcxx] [libc++] add floating point type check for uniform real distrubtion (PR #70564)

via libcxx-commits libcxx-commits at lists.llvm.org
Sun Oct 29 19:18:45 PDT 2023


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 072a7edec3ca3729ec597c413d2fcc9557d88ffc c1b8695b52d1b510b9449862b9e05a5575b1257b -- libcxx/test/libcxx/random/random.uniform.real/traits_mismatch.verify.cpp
``````````

</details>

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

``````````diff
diff --git a/libcxx/test/libcxx/random/random.uniform.real/traits_mismatch.verify.cpp b/libcxx/test/libcxx/random/random.uniform.real/traits_mismatch.verify.cpp
index 6908069c5129..5795deb9454b 100644
--- a/libcxx/test/libcxx/random/random.uniform.real/traits_mismatch.verify.cpp
+++ b/libcxx/test/libcxx/random/random.uniform.real/traits_mismatch.verify.cpp
@@ -9,7 +9,7 @@
 // __random
 
 // template<_RealType = double>
-// class uniform_real_distribution; 
+// class uniform_real_distribution;
 
 // result_type must be floating type
 

``````````

</details>


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


More information about the libcxx-commits mailing list