[libcxx-commits] [libcxx] [libc++][test] Fix simple warnings (PR #74186)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Dec 1 23:26:30 PST 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 66a3e4fafb6eae19764f8a192ca3a116c0554211 77492aab43b20616fb2043fe544fc99af6bd99a1 -- libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp libcxx/test/std/containers/views/mdspan/ConvertibleToIntegral.h libcxx/test/std/numerics/rand/rand.device/ctor.pass.cpp libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/mutex.pass.cpp libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/default.pass.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/default.pass.cpp b/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/default.pass.cpp
index 6b4da89c4f..5504645bb3 100644
--- a/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/default.pass.cpp
+++ b/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/default.pass.cpp
@@ -24,5 +24,5 @@ int main(int, char**)
std::shared_mutex m;
(void)m;
- return 0;
+ return 0;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/74186
More information about the libcxx-commits
mailing list