forked from OSchip/llvm-project
[MCParser] Use default member initialization (NFC)
Identified with modernize-use-default-member-init.
This commit is contained in:
parent
556bcc7821
commit
68090a014c
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue