Clarify comments.
authorDevang Patel <dpatel@apple.com>
Thu, 29 Sep 2011 16:52:53 +0000 (16:52 +0000)
committerDevang Patel <dpatel@apple.com>
Thu, 29 Sep 2011 16:52:53 +0000 (16:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140787 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-cov/GCOVReader.h
tools/llvm-cov/llvm-cov.cpp

index 67199db142bd662c16024b90ef9b1e79baa19727..98a556c78d0e4d10cf480e958bee5b53d4feb7f4 100644 (file)
@@ -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<LineCounts> LineInfo;
 };
 
-
 }
 
 #endif
index 0ecb28accbfba1504e1f66d304ebfbf6952e2325..5e4c1ec9de026f17a9dd131d1819280b61dd6956 100644 (file)
@@ -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";