From 706024395f9a218aeeb4b5948fc15ab5322a763e Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Thu, 22 Sep 2016 21:06:13 +0000 Subject: Try to fix build errors on Android. It doesn't like the implicit conversion from T[] to ArrayRef so I'm using `llvm::makeArrayRef()`. Hopefully I got everything. llvm-svn: 282195 --- lldb/source/Commands/CommandObjectWatchpoint.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lldb/source/Commands/CommandObjectWatchpoint.cpp') diff --git a/lldb/source/Commands/CommandObjectWatchpoint.cpp b/lldb/source/Commands/CommandObjectWatchpoint.cpp index 83eb1dd9b7f..8e3f8e2ef56 100644 --- a/lldb/source/Commands/CommandObjectWatchpoint.cpp +++ b/lldb/source/Commands/CommandObjectWatchpoint.cpp @@ -226,7 +226,7 @@ public: } llvm::ArrayRef GetDefinitions() override { - return g_watchpoint_list_options; + return llvm::makeArrayRef(g_watchpoint_list_options); } // Instance variables to hold the values for command options. @@ -587,7 +587,7 @@ public: } llvm::ArrayRef GetDefinitions() override { - return g_watchpoint_ignore_options; + return llvm::makeArrayRef(g_watchpoint_ignore_options); } // Instance variables to hold the values for command options. @@ -718,7 +718,7 @@ public: } llvm::ArrayRef GetDefinitions() override { - return g_watchpoint_modify_options; + return llvm::makeArrayRef(g_watchpoint_modify_options); } // Instance variables to hold the values for command options. -- cgit v1.2.3