diff options
| author | Fangrui Song <maskray@google.com> | 2019-11-02 14:54:59 -0700 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2019-11-02 14:57:50 -0700 |
| commit | 46abbe77d6bb0f372628c45f2cbf9ab1b9e8fff7 (patch) | |
| tree | d6bb616ef25e3ca5d025631cf8cdebc5156c81c7 | |
| parent | aa67e51195da57ef3305fe0df4c0241b501fccbb (diff) | |
| download | bcm5719-llvm-46abbe77d6bb0f372628c45f2cbf9ab1b9e8fff7.tar.gz bcm5719-llvm-46abbe77d6bb0f372628c45f2cbf9ab1b9e8fff7.zip | |
CodeGen/DIE.h: prefer the default member initializer to the member initializers in the constructor. NFC
| -rw-r--r-- | llvm/include/llvm/CodeGen/DIE.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/DIE.h b/llvm/include/llvm/CodeGen/DIE.h index dc09b684935..40f6b041e9b 100644 --- a/llvm/include/llvm/CodeGen/DIE.h +++ b/llvm/include/llvm/CodeGen/DIE.h @@ -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. /// @{ |

