aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageView.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2024-12-18 19:53:33 +0900
committerNAKAMURA Takumi <geek4civic@gmail.com>2024-12-18 20:00:03 +0900
commita9df1f6cb0dcdd808abc25f7fa1555e9e0ec6a9f (patch)
treef0a9edad001490f7cb2c36d702665ebb899884f9 /llvm/tools/llvm-cov/SourceCoverageView.cpp
parent5a5838fba37153adb7885c897131dda09227eb2d (diff)
downloadllvm-a9df1f6cb0dcdd808abc25f7fa1555e9e0ec6a9f.zip
llvm-a9df1f6cb0dcdd808abc25f7fa1555e9e0ec6a9f.tar.gz
llvm-a9df1f6cb0dcdd808abc25f7fa1555e9e0ec6a9f.tar.bz2
llvm-cov: Refactor SourceCoverageView::renderBranchView().
NFC except for calculating `Total`. I've replaced `(uint64_t)+(uint64_t)` with `(double)+(double)`. This is still inexact with large numbers `(1LL << 53)` but will be expected to prevent possible overflow.
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.cpp')
0 files changed, 0 insertions, 0 deletions