summaryrefslogtreecommitdiff
path: root/include/llvm/IR
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-03-04 06:24:11 +0000
committerCraig Topper <craig.topper@gmail.com>2014-03-04 06:24:11 +0000
commit4a655e706453ba6fcf1db555437e3725eed6703b (patch)
tree9459f8339b6eaea184ae4e1f01a017c24c4d8727 /include/llvm/IR
parentcfb73ab1c0fec466952c6602c306e7665383f822 (diff)
downloadllvm-4a655e706453ba6fcf1db555437e3725eed6703b.tar.gz
llvm-4a655e706453ba6fcf1db555437e3725eed6703b.tar.bz2
llvm-4a655e706453ba6fcf1db555437e3725eed6703b.tar.xz
[C+11] Add 'override' keyword to methods in the support library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202791 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IR')
-rw-r--r--include/llvm/IR/InstrTypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/IR/InstrTypes.h b/include/llvm/IR/InstrTypes.h
index cbf6fee506..4e247e9c9c 100644
--- a/include/llvm/IR/InstrTypes.h
+++ b/include/llvm/IR/InstrTypes.h
@@ -51,7 +51,7 @@ protected:
virtual BasicBlock *getSuccessorV(unsigned idx) const = 0;
virtual unsigned getNumSuccessorsV() const = 0;
virtual void setSuccessorV(unsigned idx, BasicBlock *B) = 0;
- virtual TerminatorInst *clone_impl() const = 0;
+ TerminatorInst *clone_impl() const override = 0;
public:
/// getNumSuccessors - Return the number of successors that this terminator