[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: Ie946a19d567f4b0d09fe61f5efbc3f62f2156b77
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2186634
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67657}
This commit is contained in:
Ng Zhi An 2020-05-06 22:23:16 -07:00 committed by Commit Bot
parent c58fc33e45
commit 60a3a964f7

View File

@ -117,7 +117,7 @@ class Logger : public CodeEventListener {
};
explicit Logger(Isolate* isolate);
~Logger();
~Logger() override;
// The separator is used to write an unescaped "," into the log.
static const LogSeparator kNext;