summaryrefslogtreecommitdiff
path: root/src/ir/module-splitting.h
diff options
context:
space:
mode:
authorMax Graey <maxgraey@gmail.com>2021-11-23 07:03:25 +0200
committerGitHub <noreply@github.com>2021-11-22 21:03:25 -0800
commit7f24fce21a92f2aed4a11745d27d5181798ba6cd (patch)
tree80655dc933e3c2ae3ae53b7960cd71a6a022c3da /src/ir/module-splitting.h
parent37999167bb333dd0b12d744af8e633897e65cff8 (diff)
downloadbinaryen-7f24fce21a92f2aed4a11745d27d5181798ba6cd.tar.gz
binaryen-7f24fce21a92f2aed4a11745d27d5181798ba6cd.tar.bz2
binaryen-7f24fce21a92f2aed4a11745d27d5181798ba6cd.zip
Modernize code to C++17 (#3104)
Diffstat (limited to 'src/ir/module-splitting.h')
-rw-r--r--src/ir/module-splitting.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/ir/module-splitting.h b/src/ir/module-splitting.h
index cfbd45b14..2cc6760c0 100644
--- a/src/ir/module-splitting.h
+++ b/src/ir/module-splitting.h
@@ -42,9 +42,7 @@
#include "wasm.h"
-namespace wasm {
-
-namespace ModuleSplitting {
+namespace wasm::ModuleSplitting {
struct Config {
// The set of functions to keep in the primary module. All others are split
@@ -76,8 +74,6 @@ struct Results {
// Returns the new secondary module and modifies the `primary` module in place.
Results splitFunctions(Module& primary, const Config& config);
-} // namespace ModuleSplitting
-
-} // namespace wasm
+} // namespace wasm::ModuleSplitting
#endif // wasm_ir_module_splitting_h