diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-09-23 02:12:10 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-09-23 02:12:10 +0000 |
commit | a96a1824747632ce87ef065b4a13fb777d2b14d6 (patch) | |
tree | 7a4851895fbb852ec33c6b8ece55584e9ad03014 /include/llvm/InstrTypes.h | |
parent | 4d6b84028ab3b135308296d61a8acfc3fd0b1fb1 (diff) | |
download | llvm-a96a1824747632ce87ef065b4a13fb777d2b14d6.tar.gz llvm-a96a1824747632ce87ef065b4a13fb777d2b14d6.tar.bz2 llvm-a96a1824747632ce87ef065b4a13fb777d2b14d6.tar.xz |
Add LLVM_OVERRIDE to methods that override their base classes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164471 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/InstrTypes.h')
-rw-r--r-- | include/llvm/InstrTypes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/InstrTypes.h b/include/llvm/InstrTypes.h index 99f4ea6c53..e957d759e7 100644 --- a/include/llvm/InstrTypes.h +++ b/include/llvm/InstrTypes.h @@ -145,7 +145,7 @@ protected: const Twine &Name, Instruction *InsertBefore); BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd); - virtual BinaryOperator *clone_impl() const; + virtual BinaryOperator *clone_impl() const LLVM_OVERRIDE; public: // allocate space for exactly two operands void *operator new(size_t s) { @@ -388,7 +388,7 @@ DEFINE_TRANSPARENT_OPERAND_ACCESSORS(BinaryOperator, Value) /// if (isa<CastInst>(Instr)) { ... } /// @brief Base class of casting instructions. class CastInst : public UnaryInstruction { - virtual void anchor(); + virtual void anchor() LLVM_OVERRIDE; protected: /// @brief Constructor with insert-before-instruction semantics for subclasses CastInst(Type *Ty, unsigned iType, Value *S, @@ -638,7 +638,7 @@ protected: Value *LHS, Value *RHS, const Twine &Name, BasicBlock *InsertAtEnd); - virtual void Anchor() const; // Out of line virtual method. + virtual void anchor() LLVM_OVERRIDE; // Out of line virtual method. public: /// This enumeration lists the possible predicates for CmpInst subclasses. /// Values in the range 0-31 are reserved for FCmpInst, while values in the |