[lld] r320741 - Fix -Wreorder warning
Sam Clegg via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 14 13:09:31 PST 2017
Author: sbc
Date: Thu Dec 14 13:09:31 2017
New Revision: 320741
URL: http://llvm.org/viewvc/llvm-project?rev=320741&view=rev
Log:
Fix -Wreorder warning
Subscribers: aheejin, llvm-commits
Differential Revision: https://reviews.llvm.org/D41255
Modified:
lld/trunk/COFF/PDB.cpp
Modified: lld/trunk/COFF/PDB.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/PDB.cpp?rev=320741&r1=320740&r2=320741&view=diff
==============================================================================
--- lld/trunk/COFF/PDB.cpp (original)
+++ lld/trunk/COFF/PDB.cpp Thu Dec 14 13:09:31 2017
@@ -73,8 +73,8 @@ struct CVIndexMap {
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);
More information about the llvm-commits
mailing list