projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use 'override/final' instead of 'virtual' for overridden methods
[oota-llvm.git]
/
include
/
llvm
/
IR
/
Instruction.h
diff --git
a/include/llvm/IR/Instruction.h
b/include/llvm/IR/Instruction.h
index fa7410e8323ce3aa0fdf493297de69705e3ceaab..9dd16fd5a60918226c3433f128d5656a26adf137 100644
(file)
--- a/
include/llvm/IR/Instruction.h
+++ b/
include/llvm/IR/Instruction.h
@@
-62,7
+62,7
@@
class Instruction : public User, public ilist_node<Instruction> {
};
public:
// Out of line virtual method, so the vtable, etc has a home.
- ~Instruction();
+ ~Instruction()
override
;
/// user_back - Specialize the methods defined in Value, as we know that an
/// instruction can only be used by other instructions.