diff options
author | Ying Yi <maggieyi666@gmail.com> | 2016-09-06 21:41:38 +0000 |
---|---|---|
committer | Ying Yi <maggieyi666@gmail.com> | 2016-09-06 21:41:38 +0000 |
commit | 24e91bd05fec332b73a991fa1f59160ea1c1e18e (patch) | |
tree | 8e65166010889596601e08e24a5592560daaa0d3 /llvm/tools/llvm-cov/SourceCoverageView.h | |
parent | 8a0e3f828a6712cf5098bb53ca082b5f87c7ea75 (diff) | |
download | bcm5719-llvm-24e91bd05fec332b73a991fa1f59160ea1c1e18e.tar.gz bcm5719-llvm-24e91bd05fec332b73a991fa1f59160ea1c1e18e.zip |
[llvm-cov] Add the project summary to the text coverage report for each source file.
This patch is a spin-off from https://reviews.llvm.org/D23922. It extends the text view to preserve the same feature as the html view.
Differential Revision: https://reviews.llvm.org/D24241
llvm-svn: 280756
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.h')
-rw-r--r-- | llvm/tools/llvm-cov/SourceCoverageView.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/llvm-cov/SourceCoverageView.h b/llvm/tools/llvm-cov/SourceCoverageView.h index 410c8fd1c26..63c5b65a207 100644 --- a/llvm/tools/llvm-cov/SourceCoverageView.h +++ b/llvm/tools/llvm-cov/SourceCoverageView.h @@ -278,6 +278,9 @@ public: StringRef getSourceName() const { return SourceName; } + /// \brief Return the source name formatted for the host OS. + std::string getNativeSourceName() const; + bool isFunctionView() const { return FunctionView; } const CoverageViewOptions &getOptions() const { return Options; } |