[PATCH] D151283: [WIP][llvm-cov] Support a Hierarchical Structure for `show --format=html` (WORK IN PROGRESS)
Yuhao Gu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 7 18:45:59 PDT 2023
AtomicGu marked an inline comment as done.
AtomicGu added inline comments.
================
Comment at: llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp:532
+ if (SourceFiles.size() == 1)
+ LCP = sys::path::parent_path(SourceFiles.front()).size();
+ // We handle this case specially. If there's only one file in total,
----------------
This line has changed to `LCP = sys::path::parent_path(SourceFiles.front()).size() + 1;`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151283/new/
https://reviews.llvm.org/D151283
More information about the llvm-commits
mailing list