diff options
Diffstat (limited to 'lldb/source/Target/ObjCLanguageRuntime.cpp')
-rw-r--r-- | lldb/source/Target/ObjCLanguageRuntime.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lldb/source/Target/ObjCLanguageRuntime.cpp b/lldb/source/Target/ObjCLanguageRuntime.cpp index d3c8a0c6f99..0be1c96d1ce 100644 --- a/lldb/source/Target/ObjCLanguageRuntime.cpp +++ b/lldb/source/Target/ObjCLanguageRuntime.cpp @@ -124,17 +124,6 @@ ObjCLanguageRuntime::LookupInCompleteClassCache (ConstString &name) incomplete_type_sp = type_sp; } } - - // We didn't find any "real" definitions, so just use any??? Why was - // this being done? Prior to this, if there was 1 match only, then it - // would always use any objc definition, else we would only accept a - // definition if it was the real thing???? Doesn't make sense. - - if (incomplete_type_sp) - { - m_complete_class_cache[name] = incomplete_type_sp; - return incomplete_type_sp; - } } } return TypeSP(); |