[Lldb-commits] [lldb] r245375 - Fix inconsistent use of override warnings.

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 18 15:31:29 PDT 2015


Author: gclayton
Date: Tue Aug 18 17:31:29 2015
New Revision: 245375

URL: http://llvm.org/viewvc/llvm-project?rev=245375&view=rev
Log:
Fix inconsistent use of override warnings.


Modified:
    lldb/trunk/include/lldb/Core/ValueObjectCast.h
    lldb/trunk/include/lldb/Core/ValueObjectConstResultCast.h
    lldb/trunk/include/lldb/Core/ValueObjectConstResultChild.h

Modified: lldb/trunk/include/lldb/Core/ValueObjectCast.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/ValueObjectCast.h?rev=245375&r1=245374&r2=245375&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/ValueObjectCast.h (original)
+++ lldb/trunk/include/lldb/Core/ValueObjectCast.h Tue Aug 18 17:31:29 2015
@@ -62,11 +62,11 @@ public:
     }
     
 protected:
-    virtual bool
-    UpdateValue ();
+    bool
+    UpdateValue () override;
     
-    virtual CompilerType
-    GetClangTypeImpl ();
+    CompilerType
+    GetClangTypeImpl () override;
     
     CompilerType m_cast_type;
     

Modified: lldb/trunk/include/lldb/Core/ValueObjectConstResultCast.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/ValueObjectConstResultCast.h?rev=245375&r1=245374&r2=245375&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/ValueObjectConstResultCast.h (original)
+++ lldb/trunk/include/lldb/Core/ValueObjectConstResultCast.h Tue Aug 18 17:31:29 2015
@@ -44,21 +44,21 @@ public:
         return ValueObjectCast::GetClangType();
     }
 
-    virtual lldb::ValueObjectSP
+    lldb::ValueObjectSP
     GetSyntheticChildAtOffset(uint32_t offset,
                               const CompilerType& type,
-                              bool can_create);
+                              bool can_create) override;
 
-    virtual lldb::ValueObjectSP
-    AddressOf (Error &error);
+    lldb::ValueObjectSP
+    AddressOf (Error &error) override;
 
-    virtual size_t
+    size_t
     GetPointeeData (DataExtractor& data,
                     uint32_t item_idx = 0,
-                    uint32_t item_count = 1);
+                    uint32_t item_count = 1) override;
 
-    virtual lldb::ValueObjectSP
-    Cast (const CompilerType &clang_ast_type);
+    lldb::ValueObjectSP
+    Cast (const CompilerType &clang_ast_type) override;
 
 protected:
     ValueObjectConstResultImpl m_impl;

Modified: lldb/trunk/include/lldb/Core/ValueObjectConstResultChild.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/ValueObjectConstResultChild.h?rev=245375&r1=245374&r2=245375&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/ValueObjectConstResultChild.h (original)
+++ lldb/trunk/include/lldb/Core/ValueObjectConstResultChild.h Tue Aug 18 17:31:29 2015
@@ -51,19 +51,19 @@ public:
         return ValueObjectChild::GetClangType();
     }
     
-    virtual lldb::ValueObjectSP
-    GetSyntheticChildAtOffset(uint32_t offset, const CompilerType& type, bool can_create);
+    lldb::ValueObjectSP
+    GetSyntheticChildAtOffset(uint32_t offset, const CompilerType& type, bool can_create) override;
     
-    virtual lldb::ValueObjectSP
-    AddressOf (Error &error);
+    lldb::ValueObjectSP
+    AddressOf (Error &error) override;
     
-    virtual size_t
+    size_t
     GetPointeeData (DataExtractor& data,
                     uint32_t item_idx = 0,
-					uint32_t item_count = 1);
+					uint32_t item_count = 1) override;
 
-    virtual lldb::ValueObjectSP
-    Cast (const CompilerType &clang_ast_type);
+    lldb::ValueObjectSP
+    Cast (const CompilerType &clang_ast_type) override;
     
 protected:
     ValueObjectConstResultImpl m_impl;




More information about the lldb-commits mailing list