[all-commits] [llvm/llvm-project] 3af4c2: [libc++][test] Clean up code in GenerateInput.h fo...
Peng Liu via All-commits
all-commits at lists.llvm.org
Mon Nov 11 07:03:18 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3af4c2e16ec1cf8a099d69d69f40f3aa8bb43cc7
https://github.com/llvm/llvm-project/commit/3af4c2e16ec1cf8a099d69d69f40f3aa8bb43cc7
Author: Peng Liu <winner245 at hotmail.com>
Date: 2024-11-11 (Mon, 11 Nov 2024)
Changed paths:
M libcxx/test/benchmarks/GenerateInput.h
Log Message:
-----------
[libc++][test] Clean up code in GenerateInput.h for benchmark testing (#115560)
This PR refines the code in `GenerateInput.h` used for benchmark testing
by implementing the following changes:
- Replaced all unqualified usages of `size_t` with `std::size_t`.
- Removed unnecessary curly braces `{}` from for loops that contain
simple single-statement bodies, in accordance with LLVM coding
standards.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list