[Lldb-commits] [lldb] r216077 - Fix warnings about overloaded virtual functions.

Greg Clayton gclayton at apple.com
Wed Aug 20 09:54:12 PDT 2014


Author: gclayton
Date: Wed Aug 20 11:54:11 2014
New Revision: 216077

URL: http://llvm.org/viewvc/llvm-project?rev=216077&view=rev
Log:
Fix warnings about overloaded virtual functions.


Modified:
    lldb/trunk/include/lldb/Target/ObjCLanguageRuntime.h
    lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp
    lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.h

Modified: lldb/trunk/include/lldb/Target/ObjCLanguageRuntime.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Target/ObjCLanguageRuntime.h?rev=216077&r1=216076&r2=216077&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Target/ObjCLanguageRuntime.h (original)
+++ lldb/trunk/include/lldb/Target/ObjCLanguageRuntime.h Wed Aug 20 11:54:11 2014
@@ -222,7 +222,7 @@ public:
         Describe (std::function <void (ObjCISA)> const &superclass_func,
                   std::function <bool (const char*, const char*)> const &instance_method_func,
                   std::function <bool (const char*, const char*)> const &class_method_func,
-                  std::function <bool (const char *, const char *, lldb::addr_t, uint64_t)> const &ivar_func)
+                  std::function <bool (const char *, const char *, lldb::addr_t, uint64_t)> const &ivar_func) const
         {
             return false;
         }

Modified: lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp?rev=216077&r1=216076&r2=216077&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp (original)
+++ lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp Wed Aug 20 11:54:11 2014
@@ -275,7 +275,7 @@ bool
 AppleObjCRuntimeV1::ClassDescriptorV1::Describe (std::function <void (ObjCLanguageRuntime::ObjCISA)> const &superclass_func,
                                                  std::function <bool (const char *, const char *)> const &instance_method_func,
                                                  std::function <bool (const char *, const char *)> const &class_method_func,
-                                                 std::function <bool (const char *, const char *, lldb::addr_t, uint64_t)> const &ivar_func)
+                                                 std::function <bool (const char *, const char *, lldb::addr_t, uint64_t)> const &ivar_func) const
 {
     return false;
 }

Modified: lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.h?rev=216077&r1=216076&r2=216077&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.h (original)
+++ lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.h Wed Aug 20 11:54:11 2014
@@ -71,7 +71,7 @@ public:
         Describe (std::function <void (ObjCLanguageRuntime::ObjCISA)> const &superclass_func,
                   std::function <bool (const char *, const char *)> const &instance_method_func,
                   std::function <bool (const char *, const char *)> const &class_method_func,
-                  std::function <bool (const char *, const char *, lldb::addr_t, uint64_t)> const &ivar_func);
+                  std::function <bool (const char *, const char *, lldb::addr_t, uint64_t)> const &ivar_func) const;
         
         virtual
         ~ClassDescriptorV1 ()





More information about the lldb-commits mailing list