]> granicus.if.org Git - llvm/commitdiff
Fix 2 more -Wreorder warnings.
authorZachary Turner <zturner@google.com>
Thu, 1 Jun 2017 23:24:50 +0000 (23:24 +0000)
committerZachary Turner <zturner@google.com>
Thu, 1 Jun 2017 23:24:50 +0000 (23:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304494 91177308-0d34-0410-b5e6-96231b3b80d8

lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp

index 3d1510c2677a7b971ebd66b48d4cf4fbd764cfb5..5ecfaf2f23a39cb407b272b5ce0631bf7772690c 100644 (file)
@@ -16,13 +16,13 @@ using namespace llvm;
 using namespace llvm::codeview;
 
 DebugSubsectionRecord::DebugSubsectionRecord()
-    : Kind(DebugSubsectionKind::None),
-      Container(CodeViewContainer::ObjectFile) {}
+    : Container(CodeViewContainer::ObjectFile),
+      Kind(DebugSubsectionKind::None) {}
 
 DebugSubsectionRecord::DebugSubsectionRecord(DebugSubsectionKind Kind,
                                              BinaryStreamRef Data,
                                              CodeViewContainer Container)
-    : Kind(Kind), Data(Data), Container(Container) {}
+    : Container(Container), Kind(Kind), Data(Data) {}
 
 Error DebugSubsectionRecord::initialize(BinaryStreamRef Stream,
                                         DebugSubsectionRecord &Info,
@@ -62,7 +62,7 @@ BinaryStreamRef DebugSubsectionRecord::getRecordData() const { return Data; }
 DebugSubsectionRecordBuilder::DebugSubsectionRecordBuilder(
     DebugSubsectionKind Kind, DebugSubsection &Frag,
     CodeViewContainer Container)
-    : Kind(Kind), Frag(Frag), Container(Container) {}
+    : Container(Container), Kind(Kind), Frag(Frag) {}
 
 uint32_t DebugSubsectionRecordBuilder::calculateSerializedLength() {
   uint32_t Size = sizeof(DebugSubsectionHeader) +