diff options
author | Alexander Kornienko <alexfh@google.com> | 2015-04-11 02:11:45 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2015-04-11 02:11:45 +0000 |
commit | c16fc548515f2fd01bc2cbe4befd822a636cc154 (patch) | |
tree | 5e13c4e43ed33c96f7f8043a561318ef458ab5e1 /lib/CodeGen/SpillPlacement.h | |
parent | 2c64a1129f14d6322631e1c6d610b92c4c4871d0 (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
http://reviews.llvm.org/D8925
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234679 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SpillPlacement.h')
-rw-r--r-- | lib/CodeGen/SpillPlacement.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SpillPlacement.h b/lib/CodeGen/SpillPlacement.h index 622361e7e80..03dd58d6e9a 100644 --- a/lib/CodeGen/SpillPlacement.h +++ b/lib/CodeGen/SpillPlacement.h @@ -70,7 +70,7 @@ public: static char ID; // Pass identification, replacement for typeid. SpillPlacement() : MachineFunctionPass(ID), nodes(nullptr) {} - ~SpillPlacement() { releaseMemory(); } + ~SpillPlacement() override { releaseMemory(); } /// BorderConstraint - A basic block has separate constraints for entry and /// exit. |