[libcxx-commits] [libcxx] [libc++] Speed up classic locale (PR #70631)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Oct 30 00:54:55 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 d16d149e3d96cf1532c1b17b93b61024f976ad0c 2556ae32ef089bc5ca4dd6dd64d83642b547c9cb -- libcxx/benchmarks/stringstream.bench.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/benchmarks/stringstream.bench.cpp b/libcxx/benchmarks/stringstream.bench.cpp
index 866c3efe2bbf..1016f4f11086 100644
--- a/libcxx/benchmarks/stringstream.bench.cpp
+++ b/libcxx/benchmarks/stringstream.bench.cpp
@@ -25,8 +25,7 @@ static void BM_Istream_numbers(benchmark::State& state) {
while (state.KeepRunning())
benchmark::DoNotOptimize(i += istream_numbers());
}
-BENCHMARK(BM_Istream_numbers)->RangeMultiplier(2)->Range(1024, 4096)->
- UseRealTime()->Threads(1)->ThreadPerCpu();
+BENCHMARK(BM_Istream_numbers)->RangeMultiplier(2)->Range(1024, 4096)->UseRealTime()->Threads(1)->ThreadPerCpu();
static void BM_Ostream_number(benchmark::State& state) {
while (state.KeepRunning()) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/70631
More information about the libcxx-commits
mailing list