]> granicus.if.org Git - llvm/commitdiff
DebugInfo: reorder some initializers
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 15 Jul 2016 21:10:31 +0000 (21:10 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 15 Jul 2016 21:10:31 +0000 (21:10 +0000)
Fix a few initialization ordering warnings from gcc from `-Wreorder`.  NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275615 91177308-0d34-0410-b5e6-96231b3b80d8

lib/DebugInfo/PDB/Raw/MsfBuilder.cpp

index 1c9749ad4092618b0ac911ce50e6e816927fe226..ab739d339a9739b436ba56a3bc97e87fff77be35 100644 (file)
@@ -22,8 +22,8 @@ const uint32_t kDefaultBlockMapAddr = 1;
 
 MsfBuilder::MsfBuilder(uint32_t BlockSize, uint32_t MinBlockCount, bool CanGrow,
                        BumpPtrAllocator &Allocator)
-    : Allocator(Allocator), BlockSize(BlockSize), MininumBlocks(MinBlockCount),
-      IsGrowable(CanGrow), BlockMapAddr(kDefaultBlockMapAddr),
+    : Allocator(Allocator), IsGrowable(CanGrow), BlockSize(BlockSize),
+      MininumBlocks(MinBlockCount), BlockMapAddr(kDefaultBlockMapAddr),
       FreeBlocks(MinBlockCount + 2U, true) {
   FreeBlocks[kSuperBlockBlock] = false;
   FreeBlocks[BlockMapAddr] = false;