llvm.org GIT mirror llvm / 1ed19d1
Fix -Wreorder warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302294 91177308-0d34-0410-b5e6-96231b3b80d8 Zachary Turner 3 years ago
1 changed file(s) with 4 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
6363 public:
6464 VarStreamArrayIterator() = default;
6565 VarStreamArrayIterator(const ArrayType &Array, const WrappedCtx &Ctx,
66 BinaryStreamRef Stream, bool *HadError = nullptr, uint32_t Offset = 0)
67 : IterRef(Stream), Ctx(&Ctx), Array(&Array), HadError(HadError), AbsOffset(Offset) {
66 BinaryStreamRef Stream, bool *HadError = nullptr,
67 uint32_t Offset = 0)
68 : IterRef(Stream), Ctx(&Ctx), Array(&Array), AbsOffset(Offset),
69 HadError(HadError) {
6870 if (IterRef.getLength() == 0)
6971 moveToEnd();
7072 else {