forked from OSchip/llvm-project
CodeGen/DIE.h: prefer the default member initializer to the member initializers in the constructor. NFC
This commit is contained in:
parent
aa67e51195
commit
46abbe77d6
|
@ -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.
|
||||
/// @{
|
||||
|
|
Loading…
Reference in New Issue