[PATCH] D41255: Fix -Wreorder warning

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 13:05:01 PST 2017


sbc100 created this revision.
Herald added subscribers: llvm-commits, aheejin.

Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D41255

Files:
  COFF/PDB.cpp


Index: COFF/PDB.cpp
===================================================================
--- COFF/PDB.cpp
+++ COFF/PDB.cpp
@@ -73,8 +73,8 @@
 class PDBLinker {
 public:
   PDBLinker(SymbolTable *Symtab)
-      : Alloc(), Symtab(Symtab), Builder(Alloc), GlobalTypeTable(Alloc),
-        TypeTable(Alloc), IDTable(Alloc), GlobalIDTable(Alloc) {}
+      : Alloc(), Symtab(Symtab), Builder(Alloc), TypeTable(Alloc),
+        IDTable(Alloc), GlobalTypeTable(Alloc), GlobalIDTable(Alloc) {}
 
   /// Emit the basic PDB structure: initial streams, headers, etc.
   void initialize(const llvm::codeview::DebugInfo &BuildId);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41255.127011.patch
Type: text/x-patch
Size: 616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171214/f3759473/attachment.bin>


More information about the llvm-commits mailing list