git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140786
91177308-0d34-0410-b5e6-
96231b3b80d8
/// read - Read GCOV buffer.
bool GCOVFile::read(GCOVBuffer &Buffer) {
- Format = Buffer.readGCOVFormat();
+ GCOVFormat Format = Buffer.readGCOVFormat();
if (Format == InvalidGCOV)
return false;
/// 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;
};