[Lldb-commits] [lldb] r232504 - Add missing overrides to fix the clang -Werror build (-Winconsistent-missing-override)

David Blaikie dblaikie at gmail.com
Tue Mar 17 10:26:41 PDT 2015


Author: dblaikie
Date: Tue Mar 17 12:26:41 2015
New Revision: 232504

URL: http://llvm.org/viewvc/llvm-project?rev=232504&view=rev
Log:
Add missing overrides to fix the clang -Werror build (-Winconsistent-missing-override)

Modified:
    lldb/trunk/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.h

Modified: lldb/trunk/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.h?rev=232504&r1=232503&r2=232504&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.h (original)
+++ lldb/trunk/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.h Tue Mar 17 12:26:41 2015
@@ -91,16 +91,16 @@ namespace lldb_private
         WriteAllRegisterValues (const lldb::DataBufferSP &data_sp) override;
 
         Error
-        IsWatchpointHit (uint8_t wp_index);
+        IsWatchpointHit (uint8_t wp_index) override;
 
         Error
-        IsWatchpointVacant (uint32_t wp_index);
+        IsWatchpointVacant (uint32_t wp_index) override;
 
         bool
         ClearHardwareWatchpoint (uint32_t wp_index) override;
 
         Error
-        ClearAllHardwareWatchpoints ();
+        ClearAllHardwareWatchpoints () override;
 
         Error
         SetHardwareWatchpointWithIndex (lldb::addr_t addr, size_t size,
@@ -111,7 +111,7 @@ namespace lldb_private
                 uint32_t watch_flags) override;
 
         lldb::addr_t
-        GetWatchpointAddress (uint32_t wp_index);
+        GetWatchpointAddress (uint32_t wp_index) override;
 
         uint32_t
         NumSupportedHardwareWatchpoints () override;





More information about the lldb-commits mailing list