[Lldb-commits] [lldb] r283351 - Try to fix Android build.
Enrico Granata via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 5 11:10:05 PDT 2016
Alright, I'll bite and ask...
What is so special about the Android bot? Every so often, I'll see it reject a piece of syntax that other compilers gleefully handle
> On Oct 5, 2016, at 10:58 AM, Zachary Turner via lldb-commits <lldb-commits at lists.llvm.org> wrote:
>
> Author: zturner
> Date: Wed Oct 5 12:58:46 2016
> New Revision: 283351
>
> URL: http://llvm.org/viewvc/llvm-project?rev=283351&view=rev
> Log:
> Try to fix Android build.
>
> Seems it doesn't like the implicit conversion from
> StringRef[] to ArrayRef<StringRef>.
>
> Modified:
> lldb/trunk/source/Breakpoint/BreakpointID.cpp
>
> Modified: lldb/trunk/source/Breakpoint/BreakpointID.cpp
> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Breakpoint/BreakpointID.cpp?rev=283351&r1=283350&r2=283351&view=diff
> ==============================================================================
> --- lldb/trunk/source/Breakpoint/BreakpointID.cpp (original)
> +++ lldb/trunk/source/Breakpoint/BreakpointID.cpp Wed Oct 5 12:58:46 2016
> @@ -48,7 +48,7 @@ bool BreakpointID::IsValidIDExpression(l
> }
>
> llvm::ArrayRef<llvm::StringRef> BreakpointID::GetRangeSpecifiers() {
> - return g_range_specifiers;
> + return llvm::makeArrayRef(g_range_specifiers);
> }
>
> void BreakpointID::GetDescription(Stream *s, lldb::DescriptionLevel level) {
>
>
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Thanks,
- Enrico
📩 egranata@.com ☎️ 27683
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20161005/47a98099/attachment.html>
More information about the lldb-commits
mailing list