Clarify comments.

llvm-svn: 140787
This commit is contained in:
Devang Patel 2011-09-29 16:52:53 +00:00
parent 1e6ee351fc
commit eec5c5bf6e
2 changed files with 3 additions and 4 deletions

View File

@ -35,7 +35,7 @@ enum GCOVFormat {
GCDA_404 GCDA_404
}; };
/// GCOVBuffer - A wrapper around MemoryBuffer to provid GCOV specific /// GCOVBuffer - A wrapper around MemoryBuffer to provide GCOV specific
/// read operations. /// read operations.
class GCOVBuffer { class GCOVBuffer {
public: public:
@ -152,7 +152,8 @@ private:
uint64_t Cursor; uint64_t Cursor;
}; };
/// GCOVFile - Collects file information. /// GCOVFile - Collects coverage information for one pair of coverage file
/// (.gcno and .gcda).
class GCOVFile { class GCOVFile {
public: public:
GCOVFile() {} GCOVFile() {}
@ -218,7 +219,6 @@ private:
StringMap<LineCounts> LineInfo; StringMap<LineCounts> LineInfo;
}; };
} }
#endif #endif

View File

@ -40,7 +40,6 @@ int main(int argc, char **argv) {
cl::ParseCommandLineOptions(argc, argv, "llvm cov\n"); cl::ParseCommandLineOptions(argc, argv, "llvm cov\n");
GCOVFile GF; GCOVFile GF;
if (InputGCNO.empty()) if (InputGCNO.empty())
errs() << " " << argv[0] << ": No gcov input file!\n"; errs() << " " << argv[0] << ": No gcov input file!\n";