diff options
| -rw-r--r-- | lld/wasm/Driver.cpp | 2 | ||||
| -rw-r--r-- | lld/wasm/InputFiles.h | 2 | ||||
| -rw-r--r-- | lld/wasm/Symbols.h | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lld/wasm/Driver.cpp b/lld/wasm/Driver.cpp index 6cfb49e18e6..5601cec882c 100644 --- a/lld/wasm/Driver.cpp +++ b/lld/wasm/Driver.cpp @@ -281,7 +281,7 @@ void LinkerDriver::link(ArrayRef<const char *> ArgsArr) { if (!Config->Relocatable) { if (Config->Entry.empty()) Config->Entry = "_start"; - static WasmSignature Signature = { {}, WASM_TYPE_NORESULT }; + static WasmSignature Signature = {{}, WASM_TYPE_NORESULT}; addSyntheticUndefinedFunction(Config->Entry, &Signature); addSyntheticGlobal("__stack_pointer", 0); diff --git a/lld/wasm/InputFiles.h b/lld/wasm/InputFiles.h index 5f572760580..3467fb6c8e8 100644 --- a/lld/wasm/InputFiles.h +++ b/lld/wasm/InputFiles.h @@ -21,10 +21,10 @@ #include <vector> +using llvm::object::Archive; using llvm::object::WasmObjectFile; using llvm::object::WasmSection; using llvm::object::WasmSymbol; -using llvm::object::Archive; using llvm::wasm::WasmImport; namespace lld { diff --git a/lld/wasm/Symbols.h b/lld/wasm/Symbols.h index 176a80061ac..29fbdf4b34c 100644 --- a/lld/wasm/Symbols.h +++ b/lld/wasm/Symbols.h @@ -16,9 +16,9 @@ using llvm::object::Archive; using llvm::object::WasmSymbol; -using llvm::wasm::WasmSignature; -using llvm::wasm::WasmImport; using llvm::wasm::WasmExport; +using llvm::wasm::WasmImport; +using llvm::wasm::WasmSignature; namespace lld { namespace wasm { @@ -104,7 +104,7 @@ protected: const WasmSymbol *Sym = nullptr; const InputSegment *Segment = nullptr; llvm::Optional<uint32_t> OutputIndex; - const WasmSignature* FunctionType; + const WasmSignature *FunctionType; }; } // namespace wasm |

