diff options
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; } |