Fix four missing 'override' specifiers found with the Clang
authorChandler Carruth <chandlerc@gmail.com>
Fri, 13 Feb 2015 08:07:00 +0000 (08:07 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 13 Feb 2015 08:07:00 +0000 (08:07 +0000)
'-Winconsistent-missing-override' warning. I suggest folks use this to
ensure that override is consistently used to mark virtual function
overrides.

llvm-svn: 229084

lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h

index 7c9d352..23d192c 100644 (file)
@@ -49,10 +49,10 @@ namespace lldb_private
         IsWatchpointVacant(uint32_t wp_index);
 
         bool
-        ClearHardwareWatchpoint(uint32_t wp_index);
+        ClearHardwareWatchpoint(uint32_t wp_index) override;
 
         Error
-        ClearAllHardwareWatchpoints ();
+        ClearAllHardwareWatchpoints () override;
 
         Error
         SetHardwareWatchpointWithIndex(lldb::addr_t addr, size_t size,
@@ -60,13 +60,13 @@ namespace lldb_private
 
         uint32_t
         SetHardwareWatchpoint(lldb::addr_t addr, size_t size,
-                uint32_t watch_flags);
+                uint32_t watch_flags) override;
 
         lldb::addr_t
         GetWatchpointAddress(uint32_t wp_index);
 
         uint32_t
-        NumSupportedHardwareWatchpoints();
+        NumSupportedHardwareWatchpoints() override;
 
     private: