[Lldb-commits] [lldb] r246736 - Fix ObjCLanguage::MethodName::GetCategory after r246616; I was just moving things around too fast...

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 2 17:03:13 PDT 2015


Author: jingham
Date: Wed Sep  2 19:03:13 2015
New Revision: 246736

URL: http://llvm.org/viewvc/llvm-project?rev=246736&view=rev
Log:
Fix ObjCLanguage::MethodName::GetCategory after r246616; I was just moving things around too fast...

Modified:
    lldb/trunk/source/Plugins/Language/ObjC/ObjCLanguage.h

Modified: lldb/trunk/source/Plugins/Language/ObjC/ObjCLanguage.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Language/ObjC/ObjCLanguage.h?rev=246736&r1=246735&r2=246736&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Language/ObjC/ObjCLanguage.h (original)
+++ lldb/trunk/source/Plugins/Language/ObjC/ObjCLanguage.h Wed Sep  2 19:03:13 2015
@@ -75,7 +75,7 @@ public:
         bool
         HasCategory()
         {
-            return !GetCategory();
+            return !GetCategory().IsEmpty();
         }
 
         Type




More information about the lldb-commits mailing list