diff options
author | Alon Zakai <azakai@google.com> | 2019-05-01 14:48:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-01 14:48:41 -0700 |
commit | 2bd3758a22131cfd6925b3fd995657b211095c90 (patch) | |
tree | 2a38a48ab68c00ed1b55e885f86014bbdda92ff2 /src/wasm-features.h | |
parent | 73709b4da08d285c2237c8c23a54ba53274c0c7f (diff) | |
download | binaryen-2bd3758a22131cfd6925b3fd995657b211095c90.tar.gz binaryen-2bd3758a22131cfd6925b3fd995657b211095c90.tar.bz2 binaryen-2bd3758a22131cfd6925b3fd995657b211095c90.zip |
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.
Diffstat (limited to 'src/wasm-features.h')
-rw-r--r-- | src/wasm-features.h | 18 |
1 files changed, 12 insertions, 6 deletions
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<typename F> 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 { |