From db823e2f44fec67b8a155f426588b94b3c8c4c03 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Fri, 15 Jul 2016 21:10:31 +0000 Subject: [PATCH] DebugInfo: reorder some initializers 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/DebugInfo/PDB/Raw/MsfBuilder.cpp b/lib/DebugInfo/PDB/Raw/MsfBuilder.cpp index 1c9749ad409..ab739d339a9 100644 --- a/lib/DebugInfo/PDB/Raw/MsfBuilder.cpp +++ b/lib/DebugInfo/PDB/Raw/MsfBuilder.cpp @@ -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;