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/wasm-features.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'src/wasm-features.h') diff --git a/src/wasm-features.h b/src/wasm-features.h index d31715f18..6337f6af9 100644 --- a/src/wasm-features.h +++ b/src/wasm-features.h @@ -84,18 +84,24 @@ struct FeatureSet { } template void iterFeatures(F f) { - if (hasAtomics()) + if (hasAtomics()) { f(Atomics); - if (hasBulkMemory()) + } + if (hasBulkMemory()) { f(BulkMemory); - if (hasMutableGlobals()) + } + if (hasMutableGlobals()) { f(MutableGlobals); - if (hasTruncSat()) + } + if (hasTruncSat()) { f(TruncSat); - if (hasSignExt()) + } + if (hasSignExt()) { f(SignExt); - if (hasSIMD()) + } + if (hasSIMD()) { f(SIMD); + } } bool operator<=(const FeatureSet& other) const { -- cgit v1.2.3