summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectBreakpointCommand.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/CommandObjectBreakpointCommand.cpp
parent29e93f3880f4c6e02727637b35c79ea08997b30b (diff)
downloadbcm5719-llvm-706024395f9a218aeeb4b5948fc15ab5322a763e.tar.gz
bcm5719-llvm-706024395f9a218aeeb4b5948fc15ab5322a763e.zip
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/CommandObjectBreakpointCommand.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectBreakpointCommand.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
index 90e6b23947f..e0a146f027a 100644
--- a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
+++ b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
@@ -349,7 +349,7 @@ are no syntax errors may indicate that a function was declared but never called.
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return g_breakpoint_add_options;
+ return llvm::makeArrayRef(g_breakpoint_add_options);
}
// Instance variables to hold the values for command options.
@@ -541,7 +541,7 @@ public:
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return g_breakpoint_delete_options;
+ return llvm::makeArrayRef(g_breakpoint_delete_options);
}
// Instance variables to hold the values for command options.
OpenPOWER on IntegriCloud