[llvm] r304485 - Fix -Wreorder warnings.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 1 15:03:17 PDT 2017


Author: zturner
Date: Thu Jun  1 17:03:17 2017
New Revision: 304485

URL: http://llvm.org/viewvc/llvm-project?rev=304485&view=rev
Log:
Fix -Wreorder warnings.

Modified:
    llvm/trunk/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h
    llvm/trunk/include/llvm/DebugInfo/CodeView/SymbolRecordMapping.h

Modified: llvm/trunk/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h?rev=304485&r1=304484&r2=304485&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h Thu Jun  1 17:03:17 2017
@@ -80,8 +80,8 @@ private:
     return Error::success();
   }
 
-  CodeViewContainer Container;
   SymbolVisitorDelegate *Delegate;
+  CodeViewContainer Container;
   std::unique_ptr<MappingInfo> Mapping;
 };
 }

Modified: llvm/trunk/include/llvm/DebugInfo/CodeView/SymbolRecordMapping.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/CodeView/SymbolRecordMapping.h?rev=304485&r1=304484&r2=304485&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/CodeView/SymbolRecordMapping.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/CodeView/SymbolRecordMapping.h Thu Jun  1 17:03:17 2017
@@ -38,8 +38,8 @@ public:
 private:
   Optional<SymbolKind> Kind;
 
-  CodeViewContainer Container;
   CodeViewRecordIO IO;
+  CodeViewContainer Container;
 };
 }
 }




More information about the llvm-commits mailing list