[WebAssembly] clang-tidy (NFC)
authorHeejin Ahn <aheejin@gmail.com>
Mon, 4 Feb 2019 19:13:46 +0000 (19:13 +0000)
committerHeejin Ahn <aheejin@gmail.com>
Mon, 4 Feb 2019 19:13:46 +0000 (19:13 +0000)
commita1cc4ea7bb1a527917f4be87475e5931d034a4ca
treef51ce53d088c8f18531fb40d96318c8acd9ba362
parent18c56a07623e496480854f4927bcf1ba5213d177
[WebAssembly] clang-tidy (NFC)

Summary:
This patch fixes clang-tidy warnings on wasm-only files.
The list of checks used is:
`-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,readability-identifier-naming,modernize-*`
(LLVM's default .clang-tidy list is the same except it does not have
`modernize-*`.)

The list of fixes are:
- Variable names start with an uppercase letter
- Function names start with a lowercase letter
- Use `auto` when you use casts so the type is evident

Reviewers: sbc100

Subscribers: dschuff, jgravelle-google, sunfish, llvm-commits

Differential Revision: https://reviews.llvm.org/D57499

llvm-svn: 353076
lld/wasm/InputChunks.cpp
lld/wasm/InputFiles.cpp
lld/wasm/LTO.cpp
lld/wasm/MarkLive.cpp
lld/wasm/Writer.cpp
lld/wasm/Writer.h