llvm.org GIT mirror llvm / 8d6c0fb
Remove unnecessary and unused data member. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140786 91177308-0d34-0410-b5e6-96231b3b80d8 Devang Patel 8 years ago
2 changed file(s) with 2 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
2828
2929 /// read - Read GCOV buffer.
3030 bool GCOVFile::read(GCOVBuffer &Buffer) {
31 Format = Buffer.readGCOVFormat();
31 GCOVFormat Format = Buffer.readGCOVFormat();
3232 if (Format == InvalidGCOV)
3333 return false;
3434
154154 /// GCOVFile - Collects file information.
155155 class GCOVFile {
156156 public:
157 GCOVFile() : Format(InvalidGCOV) {}
157 GCOVFile() {}
158158 ~GCOVFile();
159159 bool read(GCOVBuffer &Buffer);
160160 void dump();
161161 void collectLineCounts(FileInfo &FI);
162162 private:
163 enum GCOVFormat Format;
164163 SmallVector Functions;
165164 };
166165