General cleanup on the UserSettingsController stuff. There were 5 different
places that were dumping values for the settings. Centralized all of the
value dumping into a single place. When dumping values that aren't strings
we no longer surround the value with single quotes. When dumping values that
are strings, surround the string value with double quotes. When dumping array
values, assume they are always string values, and don't put quotes around
dictionary values.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129826 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectApropos.cpp b/source/Commands/CommandObjectApropos.cpp
index 1d003fc..3b4b350 100644
--- a/source/Commands/CommandObjectApropos.cpp
+++ b/source/Commands/CommandObjectApropos.cpp
@@ -99,9 +99,12 @@
             
             StreamString settings_search_results;
             lldb::UserSettingsControllerSP root = Debugger::GetSettingsController ();
-            std::string settings_prefix = root->GetLevelName().AsCString();
+            const char *settings_prefix = root->GetLevelName().GetCString();
              
-            UserSettingsController::SearchAllSettingsDescriptions (m_interpreter, root, settings_prefix, search_word,
+            UserSettingsController::SearchAllSettingsDescriptions (m_interpreter, 
+                                                                   root, 
+                                                                   settings_prefix, 
+                                                                   search_word,
                                                                    settings_search_results);
             
             if (settings_search_results.GetSize() > 0)