[llvm] r256386 - Fix initializer order warning in TypeRecord.h

Dave Bartolomeo via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 24 10:25:55 PST 2015


Author: dbartol
Date: Thu Dec 24 12:25:54 2015
New Revision: 256386

URL: http://llvm.org/viewvc/llvm-project?rev=256386&view=rev
Log:
Fix initializer order warning in TypeRecord.h

Modified:
    llvm/trunk/include/llvm/DebugInfo/CodeView/TypeRecord.h

Modified: llvm/trunk/include/llvm/DebugInfo/CodeView/TypeRecord.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/CodeView/TypeRecord.h?rev=256386&r1=256385&r2=256386&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/CodeView/TypeRecord.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/CodeView/TypeRecord.h Thu Dec 24 12:25:54 2015
@@ -241,8 +241,8 @@ private:
 class BitFieldRecord : TypeRecord {
 public:
   BitFieldRecord(TypeIndex Type, uint8_t BitSize, uint8_t BitOffset)
-      : TypeRecord(TypeRecordKind::BitField), Type(Type), BitOffset(BitOffset),
-        BitSize(BitSize) {}
+      : TypeRecord(TypeRecordKind::BitField), Type(Type), BitSize(BitSize),
+        BitOffset(BitOffset) {}
 
   TypeIndex getType() const { return Type; }
   uint8_t getBitOffset() const { return BitOffset; }




More information about the llvm-commits mailing list