[PATCH] D40570: [WebAssembly] Remove initializers from Config.h

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 28 12:27:47 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL319219: [WebAssembly] Remove initializers from Config.h (authored by sbc).

Repository:
  rL LLVM

https://reviews.llvm.org/D40570

Files:
  lld/trunk/wasm/Config.h


Index: lld/trunk/wasm/Config.h
===================================================================
--- lld/trunk/wasm/Config.h
+++ lld/trunk/wasm/Config.h
@@ -23,23 +23,23 @@
 namespace wasm {
 
 struct Configuration {
-  bool AllowUndefined = false;
-  bool Demangle = true;
-  bool EmitRelocs = false;
-  bool ImportMemory = false;
-  bool Relocatable = false;
-  bool StripDebug = false;
-  bool StripAll = false;
-  uint32_t ZStackSize = 0;
-  uint32_t MaxMemory = 0;
-  uint32_t GlobalBase = 0;
-  uint32_t InitialMemory = 0;
+  bool AllowUndefined;
+  bool Demangle;
+  bool EmitRelocs;
+  bool ImportMemory;
+  bool Relocatable;
+  bool StripAll;
+  bool StripDebug;
+  uint32_t GlobalBase;
+  uint32_t InitialMemory;
+  uint32_t MaxMemory;
+  uint32_t ZStackSize;
   llvm::StringRef Entry;
-  llvm::StringRef Sysroot;
   llvm::StringRef OutputFile;
+  llvm::StringRef Sysroot;
 
-  std::vector<llvm::StringRef> SearchPaths;
   std::set<llvm::StringRef> AllowUndefinedSymbols;
+  std::vector<llvm::StringRef> SearchPaths;
   std::vector<std::pair<Symbol *, WasmGlobal>> SyntheticGlobals;
 };
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40570.124620.patch
Type: text/x-patch
Size: 1101 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171128/5238c83f/attachment.bin>


More information about the llvm-commits mailing list