summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-10-18 13:23:52 -0700
committerGitHub <noreply@github.com>2022-10-18 13:23:52 -0700
commit34e7e49cd7fbf520e4f3cfb976b1c88713b18e45 (patch)
treea3a735185194fda8a10d21dcdcef39d218fe81d3
parent8377174c3bb56b58cda054b3210799439004e229 (diff)
downloadbinaryen-34e7e49cd7fbf520e4f3cfb976b1c88713b18e45.tar.gz
binaryen-34e7e49cd7fbf520e4f3cfb976b1c88713b18e45.tar.bz2
binaryen-34e7e49cd7fbf520e4f3cfb976b1c88713b18e45.zip
[NFC] Add namespacing to wasm-features.h (#5152)
-rw-r--r--src/wasm-features.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wasm-features.h b/src/wasm-features.h
index 7bdefd02a..2ceb9796b 100644
--- a/src/wasm-features.h
+++ b/src/wasm-features.h
@@ -23,6 +23,8 @@
#include "compiler-support.h"
#include "support/utilities.h"
+namespace wasm {
+
struct FeatureSet {
enum Feature : uint32_t {
MVP = 0,
@@ -201,4 +203,6 @@ struct FeatureSet {
uint32_t features;
};
+} // namespace wasm
+
#endif // wasm_features_h