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
/
GlobalValue.h
diff --git
a/include/llvm/IR/GlobalValue.h
b/include/llvm/IR/GlobalValue.h
index 79dbd52ed7703be329140c5fa8204bedb2def859..aeaaef4bd8b967626decb0f9986e98c427f4ae77 100644
(file)
--- a/
include/llvm/IR/GlobalValue.h
+++ b/
include/llvm/IR/GlobalValue.h
@@
-104,7
+104,7
@@
public:
LocalExecTLSModel
};
- ~GlobalValue() {
+ ~GlobalValue()
override
{
removeDeadConstantUsers(); // remove any dead constants using this.
}