mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-09 13:41:47 +00:00
Fix -Wreorder warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302294 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ba512990af
commit
1ed19d1faa
@ -64,8 +64,10 @@ class VarStreamArrayIterator
|
||||
public:
|
||||
VarStreamArrayIterator() = default;
|
||||
VarStreamArrayIterator(const ArrayType &Array, const WrappedCtx &Ctx,
|
||||
BinaryStreamRef Stream, bool *HadError = nullptr, uint32_t Offset = 0)
|
||||
: IterRef(Stream), Ctx(&Ctx), Array(&Array), HadError(HadError), AbsOffset(Offset) {
|
||||
BinaryStreamRef Stream, bool *HadError = nullptr,
|
||||
uint32_t Offset = 0)
|
||||
: IterRef(Stream), Ctx(&Ctx), Array(&Array), AbsOffset(Offset),
|
||||
HadError(HadError) {
|
||||
if (IterRef.getLength() == 0)
|
||||
moveToEnd();
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user