[Lldb-commits] [PATCH] debugserver: Remove an infinitely recursive operator=

Justin Bogner via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 17 00:30:28 PDT 2016


Today I checked out lldb to check that r284364 wouldn't cause any
trouble, but there were a few warnings that fired when I tried to build
it, breaking my -Werror build.

This deletes an unused operator= that would infinitely recurse if it
were called (caught by -Winfinite-recursion). It would also probably be
reasonable to `= default` this or do a memberwise assignment, if you
prefer.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lldb-inf-operator=.patch
Type: text/x-patch
Size: 1577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20161017/63cabad3/attachment-0001.bin>


More information about the lldb-commits mailing list