Clarify comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140787 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/llvm-cov/GCOVReader.h b/tools/llvm-cov/GCOVReader.h
index 67199db..98a556c 100644
--- a/tools/llvm-cov/GCOVReader.h
+++ b/tools/llvm-cov/GCOVReader.h
@@ -35,7 +35,7 @@
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 @@
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 @@
StringMap<LineCounts> LineInfo;
};
-
}
#endif
diff --git a/tools/llvm-cov/llvm-cov.cpp b/tools/llvm-cov/llvm-cov.cpp
index 0ecb28a..5e4c1ec 100644
--- a/tools/llvm-cov/llvm-cov.cpp
+++ b/tools/llvm-cov/llvm-cov.cpp
@@ -40,7 +40,6 @@
cl::ParseCommandLineOptions(argc, argv, "llvm cov\n");
-
GCOVFile GF;
if (InputGCNO.empty())
errs() << " " << argv[0] << ": No gcov input file!\n";