[llvm] r275615 - DebugInfo: reorder some initializers
Saleem Abdulrasool via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 15 14:10:32 PDT 2016
Author: compnerd
Date: Fri Jul 15 16:10:31 2016
New Revision: 275615
URL: http://llvm.org/viewvc/llvm-project?rev=275615&view=rev
Log:
DebugInfo: reorder some initializers
Fix a few initialization ordering warnings from gcc from `-Wreorder`. NFC.
Modified:
llvm/trunk/lib/DebugInfo/PDB/Raw/MsfBuilder.cpp
Modified: llvm/trunk/lib/DebugInfo/PDB/Raw/MsfBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/PDB/Raw/MsfBuilder.cpp?rev=275615&r1=275614&r2=275615&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/PDB/Raw/MsfBuilder.cpp (original)
+++ llvm/trunk/lib/DebugInfo/PDB/Raw/MsfBuilder.cpp Fri Jul 15 16:10:31 2016
@@ -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;
More information about the llvm-commits
mailing list