Commit 9e2608a0 authored by Ng Zhi An's avatar Ng Zhi An Committed by Commit Bot

[clang-tidy] Add override to overridden destructors

See
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-override.html
for more on this warning.

Bug: v8:10488
Change-Id: I791966d7971baaa60ec9ac1a765f6fc7529ccac7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2219408Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68056}
parent e1b29ce7
...@@ -456,7 +456,7 @@ struct FuncTypeImpl : ExternTypeImpl { ...@@ -456,7 +456,7 @@ struct FuncTypeImpl : ExternTypeImpl {
params(std::move(params)), params(std::move(params)),
results(std::move(results)) {} results(std::move(results)) {}
~FuncTypeImpl() {} ~FuncTypeImpl() override {}
}; };
template <> template <>
...@@ -510,7 +510,7 @@ struct GlobalTypeImpl : ExternTypeImpl { ...@@ -510,7 +510,7 @@ struct GlobalTypeImpl : ExternTypeImpl {
content(std::move(content)), content(std::move(content)),
mutability(mutability) {} mutability(mutability) {}
~GlobalTypeImpl() {} ~GlobalTypeImpl() override {}
}; };
template <> template <>
...@@ -563,7 +563,7 @@ struct TableTypeImpl : ExternTypeImpl { ...@@ -563,7 +563,7 @@ struct TableTypeImpl : ExternTypeImpl {
element(std::move(element)), element(std::move(element)),
limits(limits) {} limits(limits) {}
~TableTypeImpl() {} ~TableTypeImpl() override {}
}; };
template <> template <>
...@@ -609,7 +609,7 @@ struct MemoryTypeImpl : ExternTypeImpl { ...@@ -609,7 +609,7 @@ struct MemoryTypeImpl : ExternTypeImpl {
explicit MemoryTypeImpl(Limits limits) explicit MemoryTypeImpl(Limits limits)
: ExternTypeImpl(EXTERN_MEMORY), limits(limits) {} : ExternTypeImpl(EXTERN_MEMORY), limits(limits) {}
~MemoryTypeImpl() {} ~MemoryTypeImpl() override {}
}; };
template <> template <>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment