diff options
author | Zachary Turner <zturner@google.com> | 2016-10-05 17:58:46 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-10-05 17:58:46 +0000 |
commit | 0debabb3d057b7bd46934fea834996292be64543 (patch) | |
tree | ebb6755fe5ae559e25f8e39921ce87f4671b1778 | |
parent | c63116760952cd2a09d45dbee13d1f9d7ab3a263 (diff) | |
download | bcm5719-llvm-0debabb3d057b7bd46934fea834996292be64543.tar.gz bcm5719-llvm-0debabb3d057b7bd46934fea834996292be64543.zip |
Try to fix Android build.
Seems it doesn't like the implicit conversion from
StringRef[] to ArrayRef<StringRef>.
llvm-svn: 283351
-rw-r--r-- | lldb/source/Breakpoint/BreakpointID.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Breakpoint/BreakpointID.cpp b/lldb/source/Breakpoint/BreakpointID.cpp index 0b3afe9c4e6..1ea86ca7611 100644 --- a/lldb/source/Breakpoint/BreakpointID.cpp +++ b/lldb/source/Breakpoint/BreakpointID.cpp @@ -48,7 +48,7 @@ bool BreakpointID::IsValidIDExpression(llvm::StringRef str) { } llvm::ArrayRef<llvm::StringRef> BreakpointID::GetRangeSpecifiers() { - return g_range_specifiers; + return llvm::makeArrayRef(g_range_specifiers); } void BreakpointID::GetDescription(Stream *s, lldb::DescriptionLevel level) { |