This patch removes the SymbolFileSymtab support 
for reporting class types from Objective-C runtime
class symbols.  Instead, LLDB now queries the 
Objective-C runtime for class types.

We have also added a (minimal) Objective-C runtime
type vendor for Objective-C runtime version 1, to 
prevent regressions when calling class methods in
the V1 runtime.

Other components of this fix include:

- We search the Objective-C runtime in a few more
  places.

- We enable enumeration of all members of
  Objective-C classes, which Clang does in certain
  circumstances.

- SBTarget::FindFirstType and SBTarget::FindTypes
  now query the Objective-C runtime as needed.

- I fixed several test cases.

<rdar://problem/12885034>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170601 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/ObjCLanguageRuntime.cpp b/source/Target/ObjCLanguageRuntime.cpp
index 2b37cb0..fa80e09 100644
--- a/source/Target/ObjCLanguageRuntime.cpp
+++ b/source/Target/ObjCLanguageRuntime.cpp
@@ -105,9 +105,7 @@
                                                          types);
         
         if (num_types)
-        {
-            TypeSP incomplete_type_sp;
-            
+        {            
             uint32_t i;
             for (i = 0; i < num_types; ++i)
             {
@@ -120,8 +118,6 @@
                         m_complete_class_cache[name] = type_sp;
                         return type_sp;
                     }
-                    else if (!incomplete_type_sp)
-                        incomplete_type_sp = type_sp;
                 }
             }
         }