[PATCH] D41255: Fix -Wreorder warning

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 13:10:16 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rLLD320741: Fix -Wreorder warning (authored by sbc, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D41255?vs=127011&id=127013#toc

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.127013.patch
Type: text/x-patch
Size: 616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171214/698469b3/attachment.bin>


More information about the llvm-commits mailing list