diff --git a/llvm/include/llvm/DebugInfo/CodeView/StreamArray.h b/llvm/include/llvm/DebugInfo/CodeView/StreamArray.h index c3fd60428df6..7b8278ec83e6 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/StreamArray.h +++ b/llvm/include/llvm/DebugInfo/CodeView/StreamArray.h @@ -80,7 +80,9 @@ public: markError(); } } - VarStreamArrayIterator() : Array(nullptr), IterRef(), HasError(false) {} + VarStreamArrayIterator() + : Array(nullptr), ThisLen(0), ThisValue(), IterRef(), HasError(false), + HadError(nullptr) {} ~VarStreamArrayIterator() {} bool operator==(const IterType &R) const {