commit | 1cf2c8d6ec215984f68a5843f2a483e00d35e849 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Thu Aug 13 22:58:04 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Aug 14 10:54:45 2020 +0000 |
tree | ce5ae3c62d977378a5292f0858de5304ccdd3e35 | |
parent | c184cf36092f65172d32d580df53a7c367115d5a [diff] |
Enable ClangTidy flag modernize-use-override. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-override.html Adds override (introduced in C++11) to overridden virtual functions and removes virtual from those functions as it is not required. virtual on non base class implementations was used to help indicate to the user that a function was virtual. C++ compilers did not use the presence of this to signify an overridden function. Change-Id: If66d8919358f72a4035190caf8d7569268037a9a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/310160 Commit-Queue: Mike Klein <mtklein@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Mike Klein <mtklein@google.com>