kbobyrev abandoned this revision.
kbobyrev marked an inline comment as done.
kbobyrev added inline comments.
Comment at: clang-tools-extra/clangd/ClangdLSPServer.cpp:1409
(Stats.Enqueued - Stats.LastIdle);
+ // Round down to 2 decimal places for
sammccall added inline comments.
Comment at: clang-tools-extra/clangd/ClangdLSPServer.cpp:1409
(Stats.Enqueued - Stats.LastIdle);
+ // Round down to 2 decimal places for readability.
+ Report.percentage = std::floor(*Report.percentage *
kbobyrev updated this revision to Diff 248164.
kbobyrev added a comment.
%s/ceil/floor/g
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75604/new/
https://reviews.llvm.org/D75604
Files:
clang-tools-extra/clangd/ClangdLSPServer.cpp
Index:
kbobyrev created this revision.
kbobyrev added a reviewer: sammccall.
Herald added subscribers: cfe-commits, usaxena95, kadircet, arphaman, jkorous,
MaskRay, ilya-biryukov.
Herald added a project: clang.
kbobyrev updated this revision to Diff 248164.
kbobyrev added a comment.
%s/ceil/floor/g