[lld] r319512 - clang-format.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 30 18:11:29 PST 2017
Author: ruiu
Date: Thu Nov 30 18:11:29 2017
New Revision: 319512
URL: http://llvm.org/viewvc/llvm-project?rev=319512&view=rev
Log:
clang-format.
Modified:
lld/trunk/wasm/Driver.cpp
lld/trunk/wasm/InputFiles.h
lld/trunk/wasm/Symbols.h
Modified: lld/trunk/wasm/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/wasm/Driver.cpp?rev=319512&r1=319511&r2=319512&view=diff
==============================================================================
--- lld/trunk/wasm/Driver.cpp (original)
+++ lld/trunk/wasm/Driver.cpp Thu Nov 30 18:11:29 2017
@@ -281,7 +281,7 @@ void LinkerDriver::link(ArrayRef<const c
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);
Modified: lld/trunk/wasm/InputFiles.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/wasm/InputFiles.h?rev=319512&r1=319511&r2=319512&view=diff
==============================================================================
--- lld/trunk/wasm/InputFiles.h (original)
+++ lld/trunk/wasm/InputFiles.h Thu Nov 30 18:11:29 2017
@@ -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 {
Modified: lld/trunk/wasm/Symbols.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/wasm/Symbols.h?rev=319512&r1=319511&r2=319512&view=diff
==============================================================================
--- lld/trunk/wasm/Symbols.h (original)
+++ lld/trunk/wasm/Symbols.h Thu Nov 30 18:11:29 2017
@@ -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
More information about the llvm-commits
mailing list