diff options
author | Zachary Turner <zturner@google.com> | 2017-06-01 23:24:50 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-06-01 23:24:50 +0000 |
commit | afb81a83a9e6d6191aaee179f3e187004898cce5 (patch) | |
tree | 73076ec531499ec592e81535dacbbfbba476fb09 | |
parent | a44e5f601d4235f8b2ab999dc3a9cc58585404a3 (diff) | |
download | bcm5719-llvm-afb81a83a9e6d6191aaee179f3e187004898cce5.tar.gz bcm5719-llvm-afb81a83a9e6d6191aaee179f3e187004898cce5.zip |
Fix 2 more -Wreorder warnings.
llvm-svn: 304494
-rw-r--r-- | llvm/lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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) + |