[llvm] r286497 - Fix initialization order error.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 10 12:23:32 PST 2016


Author: zturner
Date: Thu Nov 10 14:23:32 2016
New Revision: 286497

URL: http://llvm.org/viewvc/llvm-project?rev=286497&view=rev
Log:
Fix initialization order error.

Modified:
    llvm/trunk/include/llvm/Support/Format.h

Modified: llvm/trunk/include/llvm/Support/Format.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Format.h?rev=286497&r1=286496&r2=286497&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Format.h (original)
+++ llvm/trunk/include/llvm/Support/Format.h Thu Nov 10 14:23:32 2016
@@ -218,7 +218,7 @@ class FormattedBytes {
 public:
   FormattedBytes(ArrayRef<uint8_t> B, uint32_t IL, Optional<uint64_t> O,
                  uint32_t NPL, uint8_t BGS, bool U, bool A)
-      : Bytes(B), IndentLevel(IL), FirstByteOffset(O), NumPerLine(NPL),
+      : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL),
         ByteGroupSize(BGS), Upper(U), ASCII(A) {
 
     if (ByteGroupSize > NumPerLine)




More information about the llvm-commits mailing list