forked from OSchip/llvm-project
Fix uninitialized members in VarStreamArrayIterator.
llvm-svn: 271529
This commit is contained in:
parent
66703ebfe5
commit
aecd6c8079
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue