From 4584cd54e3cd7025e609ccdf0ee6ded81233c0ce Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Fri, 7 Mar 2014 09:26:03 +0000 Subject: [C++11] Add 'override' keyword to virtual methods that override their base class. llvm-svn: 203220 --- llvm/lib/CodeGen/MachineModuleInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp') diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp index bb542845b98..d0ff1e70699 100644 --- a/llvm/lib/CodeGen/MachineModuleInfo.cpp +++ b/llvm/lib/CodeGen/MachineModuleInfo.cpp @@ -45,8 +45,8 @@ public: void setMap(MMIAddrLabelMap *map) { Map = map; } - virtual void deleted(); - virtual void allUsesReplacedWith(Value *V2); + void deleted() override; + void allUsesReplacedWith(Value *V2) override; }; class MMIAddrLabelMap { -- cgit v1.2.3