In a prior commit, I changed the parameters around on a ModuleList::FindTypes where the old parameters that existing clients were using would have been compatible, so I renamed ModuleList::FindTypes to ModuleList::FindTypes2. Then I made fixes and verified I updated and fixed all client code, but I forgot to rename the function back to ModuleList::FindTypes(). I am doing that now and also cleaning up the C++ dynamic type code a bit.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154182 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBTarget.cpp b/source/API/SBTarget.cpp
index 2d6ff52..2502e93 100644
--- a/source/API/SBTarget.cpp
+++ b/source/API/SBTarget.cpp
@@ -1958,7 +1958,7 @@
         SymbolContext sc;
         TypeList type_list;
         
-        uint32_t num_matches = images.FindTypes2 (sc,
+        uint32_t num_matches = images.FindTypes (sc,
                                                  name_const,
                                                  exact_match,
                                                  UINT32_MAX,