Make lldb::Regex use StringRef.
This updates getters and setters to use StringRef instead of const char *. I tested the build on Linux, Windows, and OSX and saw no build or test failures. I cannot test any BSD or Android variants, however I expect the required changes to be minimal or non-existant. llvm-svn: 282079
This commit is contained in:
@@ -70,7 +70,7 @@ lldb::TypeCategoryImplSP JavaLanguage::GetFormatters() {
|
||||
std::call_once(g_initialize, [this]() -> void {
|
||||
DataVisualization::Categories::GetCategory(GetPluginName(), g_category);
|
||||
if (g_category) {
|
||||
const char *array_regexp = "^.*\\[\\]&?$";
|
||||
llvm::StringRef array_regexp("^.*\\[\\]&?$");
|
||||
|
||||
lldb::TypeSummaryImplSP string_summary_sp(new CXXFunctionSummaryFormat(
|
||||
TypeSummaryImpl::Flags().SetDontShowChildren(true),
|
||||
|
||||
Reference in New Issue
Block a user