diff options
author | Alexander Kornienko <alexfh@google.com> | 2015-04-11 02:44:24 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2015-04-11 02:44:24 +0000 |
commit | f770a2ca5f16acc1a6d6c71846f055c4ab582656 (patch) | |
tree | dce9e415f8b736436557379675a765be72bc1677 /lib/tsan/dd | |
parent | 6f344e9bbc8fa322818b95f5ab35c8ef5ebfe0a9 (diff) |
Use 'override/final' instead of 'virtual' for overridden methods
The patch is generated using clang-tidy misc-use-override check.
This command was used:
tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \
-checks='-*,misc-use-override' -header-filter='llvm|clang' -j=32 -fix \
-format
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@234680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan/dd')
-rw-r--r-- | lib/tsan/dd/dd_rtl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tsan/dd/dd_rtl.h b/lib/tsan/dd/dd_rtl.h index bb1b20205..9abf17da4 100644 --- a/lib/tsan/dd/dd_rtl.h +++ b/lib/tsan/dd/dd_rtl.h @@ -35,7 +35,7 @@ struct Callback : DDCallback { Thread *thr; Callback(Thread *thr); - virtual u32 Unwind(); + u32 Unwind() override; }; typedef AddrHashMap<Mutex, 31051> MutexHashMap; |