1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Remove unnecessary and unused data member.

llvm-svn: 140786
This commit is contained in:
Devang Patel 2011-09-29 16:48:44 +00:00
parent 204df6030c
commit 0729c18444
2 changed files with 2 additions and 3 deletions

View File

@ -29,7 +29,7 @@ GCOVFile::~GCOVFile() {
/// read - Read GCOV buffer.
bool GCOVFile::read(GCOVBuffer &Buffer) {
Format = Buffer.readGCOVFormat();
GCOVFormat Format = Buffer.readGCOVFormat();
if (Format == InvalidGCOV)
return false;

View File

@ -155,13 +155,12 @@ private:
/// GCOVFile - Collects file information.
class GCOVFile {
public:
GCOVFile() : Format(InvalidGCOV) {}
GCOVFile() {}
~GCOVFile();
bool read(GCOVBuffer &Buffer);
void dump();
void collectLineCounts(FileInfo &FI);
private:
enum GCOVFormat Format;
SmallVector<GCOVFunction *, 16> Functions;
};