[Lldb-commits] [PATCH] D32148: [Utility/StringLexer] Remove dead code.

Davide Italiano via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 19 11:36:20 PDT 2017


On Wed, Apr 19, 2017 at 11:10 AM, Jim Ingham <jingham at apple.com> wrote:
> We've had a couple of cases of "dead" code which turned out to be the llvm.org side of generic behavior for which Swift was the only current specific implementation.  So while I agree, little single functions that aren't used anywhere are fine to cull, anything that looks like it might be the former issue should probably be discussed first.
>
> Jim
>

Ideally functions used for out-of-tree consumers should be properly
unit-tested so we can at least have an alarm to distinguish. This
doesn't replace a discussion of course, but it's still useful.


More information about the lldb-commits mailing list