summaryrefslogtreecommitdiff
path: root/lib/CodeGen/Spiller.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-03-07 09:26:03 +0000
committerCraig Topper <craig.topper@gmail.com>2014-03-07 09:26:03 +0000
commit9f998de8918c1dd5a8b8ec564af00107859898e0 (patch)
tree236ce73d227b8a00770e5e6d5516f5d551be8d80 /lib/CodeGen/Spiller.cpp
parent177c1ef30d6f789e7e780651dae5cc0929d73066 (diff)
downloadllvm-9f998de8918c1dd5a8b8ec564af00107859898e0.tar.gz
llvm-9f998de8918c1dd5a8b8ec564af00107859898e0.tar.bz2
llvm-9f998de8918c1dd5a8b8ec564af00107859898e0.tar.xz
[C++11] Add 'override' keyword to virtual methods that override their base class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203220 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Spiller.cpp')
-rw-r--r--lib/CodeGen/Spiller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/Spiller.cpp b/lib/CodeGen/Spiller.cpp
index 560b040a40..c5923f932c 100644
--- a/lib/CodeGen/Spiller.cpp
+++ b/lib/CodeGen/Spiller.cpp
@@ -164,7 +164,7 @@ public:
VirtRegMap &vrm)
: SpillerBase(pass, mf, vrm) {}
- void spill(LiveRangeEdit &LRE) {
+ void spill(LiveRangeEdit &LRE) override {
// Ignore spillIs - we don't use it.
trivialSpillEverywhere(LRE);
}