From a5ef699f41499764afdd76c6495f73c1f1e4f85e Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Thu, 29 Sep 2011 16:52:53 +0000 Subject: Clarify comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140787 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-cov/GCOVReader.h | 6 +++--- tools/llvm-cov/llvm-cov.cpp | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/llvm-cov/GCOVReader.h b/tools/llvm-cov/GCOVReader.h index 67199db142..98a556c78d 100644 --- a/tools/llvm-cov/GCOVReader.h +++ b/tools/llvm-cov/GCOVReader.h @@ -35,7 +35,7 @@ enum GCOVFormat { GCDA_404 }; -/// GCOVBuffer - A wrapper around MemoryBuffer to provid GCOV specific +/// GCOVBuffer - A wrapper around MemoryBuffer to provide GCOV specific /// read operations. class GCOVBuffer { public: @@ -152,7 +152,8 @@ private: uint64_t Cursor; }; -/// GCOVFile - Collects file information. +/// GCOVFile - Collects coverage information for one pair of coverage file +/// (.gcno and .gcda). class GCOVFile { public: GCOVFile() {} @@ -218,7 +219,6 @@ private: StringMap LineInfo; }; - } #endif diff --git a/tools/llvm-cov/llvm-cov.cpp b/tools/llvm-cov/llvm-cov.cpp index 0ecb28accb..5e4c1ec9de 100644 --- a/tools/llvm-cov/llvm-cov.cpp +++ b/tools/llvm-cov/llvm-cov.cpp @@ -40,7 +40,6 @@ int main(int argc, char **argv) { cl::ParseCommandLineOptions(argc, argv, "llvm cov\n"); - GCOVFile GF; if (InputGCNO.empty()) errs() << " " << argv[0] << ": No gcov input file!\n"; -- cgit v1.2.3