[lldb-dev] RFC: Break/Watchpoint refactor
Zachary Turner via lldb-dev
lldb-dev at lists.llvm.org
Tue Sep 27 15:07:39 PDT 2016
FWIW LLVM removed all it's disallow copy / assign macros in favor of
explicitly writing it. I agree it's easier to just change the macro, but I
would just do what LLVM does as long as you don't mind the extra work.
On Tue, Sep 27, 2016 at 3:01 PM Daniel Austin Noland via lldb-dev <
lldb-dev at lists.llvm.org> wrote:
>
>
> On 09/27/2016 03:37 PM, Enrico Granata wrote:
>
>
> On Sep 27, 2016, at 1:09 PM, Daniel Austin Noland via lldb-dev <
> lldb-dev at lists.llvm.org> wrote:
>
> * Prefer explicitly deleted copy ctor / assignments over multiline macro
> DISALLOW_COPY_AND_ASSIGN
>
>
> Why not just move DISALLOW_COPY_AND_ASSIGN over to using =delete ? That
> seems like a trivial change..
>
> That was my first thought as well. Still, I personally try to avoid
> macros. On the other hand that one is simple enough that it may be
> justified.
>
>
> Thanks,
> *- Enrico*
> 📩 egranata@.com ☎️ 27683
>
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160927/92f497a9/attachment.html>
More information about the lldb-dev
mailing list