diff options
author | Vedant Kumar <vsk@apple.com> | 2016-06-25 05:48:54 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-06-25 05:48:54 +0000 |
commit | ee5a5e9bceb5132714c1a06fd46ea0b3db3129bc (patch) | |
tree | b51a273168aa670d6e40864f59a2b6f1824d2a68 /llvm/tools/llvm-cov/SourceCoverageView.h | |
parent | b1421a1cecc4596cb0ba0e0c2cf42a1cbf407cae (diff) | |
download | llvm-ee5a5e9bceb5132714c1a06fd46ea0b3db3129bc.zip llvm-ee5a5e9bceb5132714c1a06fd46ea0b3db3129bc.tar.gz llvm-ee5a5e9bceb5132714c1a06fd46ea0b3db3129bc.tar.bz2 |
[llvm-cov] Flesh out some doxygen comments, NFC
llvm-svn: 273772
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.h')
-rw-r--r-- | llvm/tools/llvm-cov/SourceCoverageView.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/llvm/tools/llvm-cov/SourceCoverageView.h b/llvm/tools/llvm-cov/SourceCoverageView.h index ef237d8..82822ca 100644 --- a/llvm/tools/llvm-cov/SourceCoverageView.h +++ b/llvm/tools/llvm-cov/SourceCoverageView.h @@ -6,9 +6,9 @@ // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// -// This class implements rendering for code coverage of source code. -// +/// +/// \file This class implements rendering for code coverage of source code. +/// //===----------------------------------------------------------------------===// #ifndef LLVM_COV_SOURCECOVERAGEVIEW_H @@ -24,7 +24,7 @@ namespace llvm { class SourceCoverageView; -/// \brief A view that represents a macro or include expansion +/// \brief A view that represents a macro or include expansion. struct ExpansionView { coverage::CounterMappingRegion Region; std::unique_ptr<SourceCoverageView> View; @@ -49,7 +49,7 @@ struct ExpansionView { } }; -/// \brief A view that represents a function instantiation +/// \brief A view that represents a function instantiation. struct InstantiationView { StringRef FunctionName; unsigned Line; @@ -98,8 +98,11 @@ struct LineCoverageStats { } }; -/// \brief A code coverage view of a specific source file. -/// It can have embedded coverage views. +/// \brief A code coverage view of a source file or function. +/// +/// A source coverage view and its nested sub-views form a file-oriented +/// representation of code coverage data. This view can be printed out by a +/// renderer which implements the Rendering Interface. class SourceCoverageView { /// A function or file name. StringRef SourceName; |