diff options
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); |