diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-11-02 17:28:08 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-11-02 18:03:21 +0000 |
| commit | 09189677394f40f00f7ff538c6e5ff54e65f5fc7 (patch) | |
| tree | 80adf9e2c4cd3718cd40ca7fc536110c21f22867 | |
| parent | d0f3c822160e36e10588bc86dabde6ab8d63cf10 (diff) | |
| download | bcm5719-llvm-09189677394f40f00f7ff538c6e5ff54e65f5fc7.tar.gz bcm5719-llvm-09189677394f40f00f7ff538c6e5ff54e65f5fc7.zip | |
DIEAbbrev - fix uninitialized variable warning. NFCI.
| -rw-r--r-- | llvm/include/llvm/CodeGen/DIE.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/DIE.h b/llvm/include/llvm/CodeGen/DIE.h index e8e7504a6cd..3310e29f5fe 100644 --- a/llvm/include/llvm/CodeGen/DIE.h +++ b/llvm/include/llvm/CodeGen/DIE.h @@ -93,7 +93,7 @@ class DIEAbbrev : public FoldingSetNode { SmallVector<DIEAbbrevData, 12> Data; public: - DIEAbbrev(dwarf::Tag T, bool C) : Tag(T), Children(C) {} + DIEAbbrev(dwarf::Tag T, bool C) : Tag(T), Children(C), Number(0) {} /// Accessors. /// @{ |

