[libc-commits] [libc] [libc] reorder member variables and functions for better organization (PR #85812)
via libc-commits
libc-commits at lists.llvm.org
Tue Mar 19 09:25:17 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 252e2551eab9b59f7dcbf8bb79a1432884d546e4 f7999cda9853944bbb77dd380bf24c575c885537 -- libc/benchmarks/LibcMemoryBenchmark.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/benchmarks/LibcMemoryBenchmark.cpp b/libc/benchmarks/LibcMemoryBenchmark.cpp
index 455680990e..fcfc427f68 100644
--- a/libc/benchmarks/LibcMemoryBenchmark.cpp
+++ b/libc/benchmarks/LibcMemoryBenchmark.cpp
@@ -59,7 +59,8 @@ OffsetDistribution::OffsetDistribution(size_t BufferSize, size_t MaxSizeValue,
// Precomputes offset where to insert mismatches between the two buffers.
class MismatchOffsetDistribution {
public:
- MismatchOffsetDistribution(size_t BufferSize, size_t MaxSizeValue, size_t MismatchAt);
+ MismatchOffsetDistribution(size_t BufferSize, size_t MaxSizeValue,
+ size_t MismatchAt);
private:
size_t MismatchAt;
``````````
</details>
https://github.com/llvm/llvm-project/pull/85812
More information about the libc-commits
mailing list