diff options
author | ZhaoQi <zhaoqi01@loongson.cn> | 2025-09-26 10:45:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-26 10:45:29 +0800 |
commit | 4321d4fe8039a745796726dfe145e5e699b928b3 (patch) | |
tree | 589d406b275c99425ea9c7ee22776e9920d7de4f /libc/benchmarks/LibcMemoryBenchmarkMain.cpp | |
parent | d516d07c268f260e245690f89ab0f3e727389cb5 (diff) | |
parent | ef876268b97d664a90dc0d9a044f518557270e3d (diff) | |
download | llvm-users/zhaoqi5/override-isxxxcheap-hooks.zip llvm-users/zhaoqi5/override-isxxxcheap-hooks.tar.gz llvm-users/zhaoqi5/override-isxxxcheap-hooks.tar.bz2 |
Merge branch 'users/zhaoqi5/test-isxxxcheap' into users/zhaoqi5/override-isxxxcheap-hooksusers/zhaoqi5/override-isxxxcheap-hooks
Diffstat (limited to 'libc/benchmarks/LibcMemoryBenchmarkMain.cpp')
-rw-r--r-- | libc/benchmarks/LibcMemoryBenchmarkMain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/benchmarks/LibcMemoryBenchmarkMain.cpp b/libc/benchmarks/LibcMemoryBenchmarkMain.cpp index c042b29..613160d 100644 --- a/libc/benchmarks/LibcMemoryBenchmarkMain.cpp +++ b/libc/benchmarks/LibcMemoryBenchmarkMain.cpp @@ -161,11 +161,11 @@ private: if (Percent == LastPercent) return; LastPercent = Percent; - size_t I = 0; + size_t i = 0; errs() << '['; - for (; I <= Percent; ++I) + for (; i <= Percent; ++i) errs() << '#'; - for (; I <= 100; ++I) + for (; i <= 100; ++i) errs() << '_'; errs() << "] " << Percent << '%' << '\r'; } |