Use 'override/final' instead of 'virtual' for overridden methods
[oota-llvm.git] / include / llvm / IR / GlobalValue.h
index 79dbd52ed7703be329140c5fa8204bedb2def859..aeaaef4bd8b967626decb0f9986e98c427f4ae77 100644 (file)
@@ -104,7 +104,7 @@ public:
     LocalExecTLSModel
   };
 
-  ~GlobalValue() {
+  ~GlobalValue() override {
     removeDeadConstantUsers();   // remove any dead constants using this.
   }