[llvm] r305095 - Fix -Wreorder-fields warning.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 9 11:04:02 PDT 2017
Author: zturner
Date: Fri Jun 9 13:04:02 2017
New Revision: 305095
URL: http://llvm.org/viewvc/llvm-project?rev=305095&view=rev
Log:
Fix -Wreorder-fields warning.
Modified:
llvm/trunk/include/llvm/Support/BinaryStreamArray.h
Modified: llvm/trunk/include/llvm/Support/BinaryStreamArray.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/BinaryStreamArray.h?rev=305095&r1=305094&r2=305095&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/BinaryStreamArray.h (original)
+++ llvm/trunk/include/llvm/Support/BinaryStreamArray.h Fri Jun 9 13:04:02 2017
@@ -144,8 +144,8 @@ public:
VarStreamArrayIterator(const ArrayType &Array, const Extractor &E,
uint32_t Offset, bool *HadError)
- : IterRef(Array.Stream.drop_front(Offset)), Array(&Array),
- AbsOffset(Offset), HadError(HadError), Extract(E) {
+ : IterRef(Array.Stream.drop_front(Offset)), Extract(E),
+ Array(&Array), AbsOffset(Offset), HadError(HadError) {
if (IterRef.getLength() == 0)
moveToEnd();
else {
More information about the llvm-commits
mailing list