[libcxx-commits] [libcxx] [tzdb] Replace shared_mutex with mutex. (PR #87929)

via libcxx-commits libcxx-commits at lists.llvm.org
Sun Apr 7 09:59:36 PDT 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 a61252419779a6d4a5ebf71e7e2fc4adc75cfddd ea4795778633c06815e73cfa307bbb7ededc14f1 -- libcxx/benchmarks/shared_mutex_vs_mutex.bench.cpp libcxx/src/include/tzdb/tzdb_list_private.h
``````````

</details>

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

``````````diff
diff --git a/libcxx/benchmarks/shared_mutex_vs_mutex.bench.cpp b/libcxx/benchmarks/shared_mutex_vs_mutex.bench.cpp
index 7d06857d0a..19d13b799c 100644
--- a/libcxx/benchmarks/shared_mutex_vs_mutex.bench.cpp
+++ b/libcxx/benchmarks/shared_mutex_vs_mutex.bench.cpp
@@ -12,8 +12,8 @@
 #include <atomic>
 #include <mutex>
 #include <numeric>
-#include <thread>
 #include <shared_mutex>
+#include <thread>
 
 #include "benchmark/benchmark.h"
 

``````````

</details>


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


More information about the libcxx-commits mailing list