summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/execution-results.h2
-rw-r--r--src/tools/wasm-metadce.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/execution-results.h b/src/tools/execution-results.h
index 2491fbf1b..723ddffda 100644
--- a/src/tools/execution-results.h
+++ b/src/tools/execution-results.h
@@ -23,7 +23,7 @@
namespace wasm {
-typedef std::vector<Literal> Loggings;
+using Loggings = std::vector<Literal>;
// Logs every relevant import call parameter.
struct LoggingExternalInterface : public ShellExternalInterface {
diff --git a/src/tools/wasm-metadce.cpp b/src/tools/wasm-metadce.cpp
index 8a0170f0f..029d4aae8 100644
--- a/src/tools/wasm-metadce.cpp
+++ b/src/tools/wasm-metadce.cpp
@@ -69,7 +69,7 @@ struct MetaDCEGraph {
// be imported twice, for example. So we don't map a DCE node to an Import,
// but rather the module.base pair ("id") for the import.
// TODO: implement this in a safer way, not a string with a magic separator
- typedef Name ImportId;
+ using ImportId = Name;
ImportId getImportId(Name module, Name base) {
if (module == "GOT.func" || module == "GOT.mem") {