CodeGen/DIE.h: prefer the default member initializer to the member initializers in the constructor. NFC

This commit is contained in:
Fangrui Song 2019-11-02 14:54:59 -07:00
parent aa67e51195
commit 46abbe77d6
1 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ public:
/// object.
class DIEAbbrev : public FoldingSetNode {
/// Unique number for node.
unsigned Number;
unsigned Number = 0;
/// Dwarf tag code.
dwarf::Tag Tag;
@ -93,7 +93,7 @@ class DIEAbbrev : public FoldingSetNode {
SmallVector<DIEAbbrevData, 12> Data;
public:
DIEAbbrev(dwarf::Tag T, bool C) : Number(0), Tag(T), Children(C) {}
DIEAbbrev(dwarf::Tag T, bool C) : Tag(T), Children(C) {}
/// Accessors.
/// @{