[MCParser] Use default member initialization (NFC)

Identified with modernize-use-default-member-init.
This commit is contained in:
Kazu Hirata 2022-06-18 20:54:56 -07:00
parent 556bcc7821
commit 68090a014c
1 changed files with 3 additions and 3 deletions

View File

@ -155,10 +155,10 @@ private:
/// The values from the last parsed cpp hash file line comment if any.
struct CppHashInfoTy {
StringRef Filename;
int64_t LineNumber;
int64_t LineNumber = 0;
SMLoc Loc;
unsigned Buf;
CppHashInfoTy() : LineNumber(0), Buf(0) {}
unsigned Buf = 0;
CppHashInfoTy() = default;
};
CppHashInfoTy CppHashInfo;