aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectWatchpointCommand.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-09-22 21:06:13 +0000
committerZachary Turner <zturner@google.com>2016-09-22 21:06:13 +0000
commit706024395f9a218aeeb4b5948fc15ab5322a763e (patch)
tree749d119e219a6aadb8fc9f78b3dcb1896875f177 /lldb/source/Commands/CommandObjectWatchpointCommand.cpp
parent29e93f3880f4c6e02727637b35c79ea08997b30b (diff)
downloadllvm-706024395f9a218aeeb4b5948fc15ab5322a763e.zip
llvm-706024395f9a218aeeb4b5948fc15ab5322a763e.tar.gz
llvm-706024395f9a218aeeb4b5948fc15ab5322a763e.tar.bz2
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
Diffstat (limited to 'lldb/source/Commands/CommandObjectWatchpointCommand.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectWatchpointCommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectWatchpointCommand.cpp b/lldb/source/Commands/CommandObjectWatchpointCommand.cpp
index a0214ad..9377d2a 100644
--- a/lldb/source/Commands/CommandObjectWatchpointCommand.cpp
+++ b/lldb/source/Commands/CommandObjectWatchpointCommand.cpp
@@ -371,7 +371,7 @@ are no syntax errors may indicate that a function was declared but never called.
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return g_watchpoint_command_add_options;
+ return llvm::makeArrayRef(g_watchpoint_command_add_options);
}
// Instance variables to hold the values for command options.