Try to fix build errors on Android.
It doesn't like the implicit conversion from T[] to ArrayRef<T>
so I'm using `llvm::makeArrayRef()`. Hopefully I got everything.
llvm-svn: 282195
diff --git a/lldb/source/Commands/CommandObjectSettings.cpp b/lldb/source/Commands/CommandObjectSettings.cpp
index f1420a2..f31e242 100644
--- a/lldb/source/Commands/CommandObjectSettings.cpp
+++ b/lldb/source/Commands/CommandObjectSettings.cpp
@@ -125,7 +125,7 @@
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return g_settings_set_options;
+ return llvm::makeArrayRef(g_settings_set_options);
}
// Instance variables to hold the values for command options.