diff options
Diffstat (limited to 'tools/llvm-cov')
-rw-r--r-- | tools/llvm-cov/GCOVReader.h | 6 | ||||
-rw-r--r-- | tools/llvm-cov/llvm-cov.cpp | 1 |
2 files changed, 3 insertions, 4 deletions
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<LineCounts> 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"; |