Cleaned up the lldb_private::Mangled class to get rid of the tokenizing code that has bit rotted and isn't being used. Also cleaned up the API to the "lldb_private::Mangled" to always take "const ConstString &" arguments instead of both "const ConstString &" and "const char *".
llvm-svn: 160466
diff --git a/lldb/source/Symbol/Function.cpp b/lldb/source/Symbol/Function.cpp
index 7fa6c6f..9ee35e3 100644
--- a/lldb/source/Symbol/Function.cpp
+++ b/lldb/source/Symbol/Function.cpp
@@ -100,7 +100,7 @@
const Declaration *call_decl_ptr
) :
FunctionInfo(name, decl_ptr),
- m_mangled(mangled, true),
+ m_mangled(ConstString(mangled), true),
m_call_decl (call_decl_ptr)
{
}
@@ -233,7 +233,7 @@
m_comp_unit (comp_unit),
m_type_uid (type_uid),
m_type (type),
- m_mangled (mangled, true),
+ m_mangled (ConstString(mangled), true),
m_block (func_uid),
m_range (range),
m_frame_base (),