From 2bd3758a22131cfd6925b3fd995657b211095c90 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 1 May 2019 14:48:41 -0700 Subject: clang-tidy braces changes (#2075) Applies the changes in #2065, and temprarily disables the hook since it's too slow to run on a change this large. We should re-enable it in a later commit. --- src/tools/wasm-ctor-eval.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/tools/wasm-ctor-eval.cpp') diff --git a/src/tools/wasm-ctor-eval.cpp b/src/tools/wasm-ctor-eval.cpp index 2050b3ebc..6a967ece7 100644 --- a/src/tools/wasm-ctor-eval.cpp +++ b/src/tools/wasm-ctor-eval.cpp @@ -441,8 +441,9 @@ int main(int argc, const char* argv[]) { Module wasm; { - if (options.debug) + if (options.debug) { std::cerr << "reading...\n"; + } ModuleReader reader; reader.setDebug(options.debug); @@ -483,8 +484,9 @@ int main(int argc, const char* argv[]) { } if (options.extra.count("output") > 0) { - if (options.debug) + if (options.debug) { std::cerr << "writing..." << std::endl; + } ModuleWriter writer; writer.setDebug(options.debug); writer.setBinary(emitBinary); -- cgit v1.2.3