summaryrefslogtreecommitdiffstats
path: root/lld/wasm/Driver.cpp
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2018-08-29 21:03:16 +0000
committerHeejin Ahn <aheejin@gmail.com>2018-08-29 21:03:16 +0000
commit4821ebf73fac25e756987f79e87fae8a50a46654 (patch)
treeea542cf1ce4e2ed89c52ecb81d4bfc2a1299e504 /lld/wasm/Driver.cpp
parentd709a3608474548ff0836c5efb988271378c3717 (diff)
downloadbcm5719-llvm-4821ebf73fac25e756987f79e87fae8a50a46654.tar.gz
bcm5719-llvm-4821ebf73fac25e756987f79e87fae8a50a46654.zip
[WebAssembly] clang-format (NFC)
Summary: This patch runs clang-format on all wasm-only files. Reviewers: sbc100 Subscribers: dschuff, jgravelle-google, sunfish, llvm-commits Differential Revision: https://reviews.llvm.org/D51449 llvm-svn: 340970
Diffstat (limited to 'lld/wasm/Driver.cpp')
-rw-r--r--lld/wasm/Driver.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/lld/wasm/Driver.cpp b/lld/wasm/Driver.cpp
index cf6184036ec..f477ba3b235 100644
--- a/lld/wasm/Driver.cpp
+++ b/lld/wasm/Driver.cpp
@@ -186,8 +186,7 @@ static void readImportFile(StringRef Filename) {
// Returns slices of MB by parsing MB as an archive file.
// Each slice consists of a member file in the archive.
-std::vector<MemoryBufferRef> static getArchiveMembers(
- MemoryBufferRef MB) {
+std::vector<MemoryBufferRef> static getArchiveMembers(MemoryBufferRef MB) {
std::unique_ptr<Archive> File =
CHECK(Archive::create(MB),
MB.getBufferIdentifier() + ": failed to parse archive");
@@ -205,8 +204,8 @@ std::vector<MemoryBufferRef> static getArchiveMembers(
V.push_back(MBRef);
}
if (Err)
- fatal(MB.getBufferIdentifier() + ": Archive::children failed: " +
- toString(std::move(Err)));
+ fatal(MB.getBufferIdentifier() +
+ ": Archive::children failed: " + toString(std::move(Err)));
// Take ownership of memory buffers created for members of thin archives.
for (std::unique_ptr<MemoryBuffer> &MB : File->takeThinBuffers())
OpenPOWER on IntegriCloud