diff options
author | Ryoga <ryoga_314@yahoo.co.jp> | 2019-03-19 03:44:09 +0900 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2019-03-18 11:44:09 -0700 |
commit | fecbb93b74ffcf6c1cdfb6c435b4b6658c9f0023 (patch) | |
tree | d10b3048dad5ea3c3bd5b49a4c1782d050e1a43c /src | |
parent | c9307d91bfeaf5d9f75e1697dbe062527c091c18 (diff) | |
download | binaryen-fecbb93b74ffcf6c1cdfb6c435b4b6658c9f0023.tar.gz binaryen-fecbb93b74ffcf6c1cdfb6c435b4b6658c9f0023.tar.bz2 binaryen-fecbb93b74ffcf6c1cdfb6c435b4b6658c9f0023.zip |
Remove unnecessary semicolons (#1942)
Removed semicolons that cause errors when compiling with -pedantic-errors.
Diffstat (limited to 'src')
-rw-r--r-- | src/ir/block-utils.h | 2 | ||||
-rw-r--r-- | src/ir/global-utils.h | 2 | ||||
-rw-r--r-- | src/passes/CoalesceLocals.cpp | 2 | ||||
-rw-r--r-- | src/support/colors.h | 2 | ||||
-rw-r--r-- | src/wasm.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/ir/block-utils.h b/src/ir/block-utils.h index e3ad370db..968332212 100644 --- a/src/ir/block-utils.h +++ b/src/ir/block-utils.h @@ -59,7 +59,7 @@ namespace BlockUtils { inline Expression* simplifyToContentsWithPossibleTypeChange(Block* block, T* parent) { return simplifyToContents(block, parent, true); } -}; +} } // namespace wasm diff --git a/src/ir/global-utils.h b/src/ir/global-utils.h index 02bbbf2d2..fa4cdc44a 100644 --- a/src/ir/global-utils.h +++ b/src/ir/global-utils.h @@ -48,7 +48,7 @@ namespace GlobalUtils { }); return ret; } -}; +} } // namespace wasm diff --git a/src/passes/CoalesceLocals.cpp b/src/passes/CoalesceLocals.cpp index 2835744d3..621383ca4 100644 --- a/src/passes/CoalesceLocals.cpp +++ b/src/passes/CoalesceLocals.cpp @@ -275,7 +275,7 @@ std::vector<Index> adjustOrderByPriorities(std::vector<Index>& baseline, std::ve return priorities[x] > priorities[y] || (priorities[x] == priorities[y] && reversed[x] < reversed[y]); }); return ret; -}; +} void CoalesceLocals::pickIndices(std::vector<Index>& indices) { if (numLocals == 0) return; diff --git a/src/support/colors.h b/src/support/colors.h index fb5267ce1..6761639d9 100644 --- a/src/support/colors.h +++ b/src/support/colors.h @@ -52,6 +52,6 @@ inline void green(std::ostream& stream) {} inline void blue(std::ostream& stream) {} inline void bold(std::ostream& stream) {} #endif -}; +} #endif // wasm_support_color_h diff --git a/src/wasm.h b/src/wasm.h index 5f38b2a2e..a4fb7e357 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -958,7 +958,7 @@ private: std::map<Name, Global*> globalsMap; public: - Module() = default;; + Module() = default; FunctionType* getFunctionType(Name name); Export* getExport(Name name); |