[Lldb-commits] [lldb] r240606 - Handle (or at least don't crash) trying to get the encoding for a bunch of new builtin types in clang trunk
Enrico Granata
egranata at apple.com
Mon Jun 29 15:47:47 PDT 2015
> On Jun 29, 2015, at 11:58 AM, Ed Maste <emaste at freebsd.org> wrote:
>
> On 29 June 2015 at 14:47, Enrico Granata <egranata at apple.com> wrote:
>>
>>> I can see arguments for and against removing the default, but I think
>>> removing it will cause a new warning to appear if Clang adds other new
>>> kinds in the future.
>>
>> Yes. And I am slightly more worried about the silent failure when that happens rather than the warning per se - which is why I am hesitant to just say “yes please remove"
>
> I mean the warning will prompt us to go and add any new missing enum
> values
Until we’re busy and forget to do it and some builds end up with bugs because of silent fall-through at runtime :-)
> if this happens -- especially if we enable -Werror :)
Which I suspect we’re not doing anytime soon
>
> I don't feel too strongly one way or the other,
Likewise. I have a slight preference for keeping the default in there, but only so slight
> but it seems we have
> removed the defaults in all of these cases in the past.
Thanks,
- Enrico
📩 egranata@.com ☎️ 27683
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150629/6b888a22/attachment.html>
More information about the lldb-commits
mailing list