From afb81a83a9e6d6191aaee179f3e187004898cce5 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Thu, 1 Jun 2017 23:24:50 +0000 Subject: Fix 2 more -Wreorder warnings. llvm-svn: 304494 --- llvm/lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'llvm/lib/DebugInfo/CodeView') diff --git a/llvm/lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp b/llvm/lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp index 3d1510c2677..5ecfaf2f23a 100644 --- a/llvm/lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp +++ b/llvm/lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp @@ -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) + -- cgit v1.2.3