This is an archive of the discontinued LLVM Phabricator instance.

[lit] Remove dead code (not referenced anywhere), and clarify some function names.
ClosedPublic

Authored by dlj on Jun 28 2017, 1:53 PM.

Details

Summary

The dead code seems to be unreferenced, according to textual search across the
LLVM SVN repo.

The clarification part of this change alters the name of a module-level function
so that it is different from the name of the class-methods that call it.
Currently, there are no erroneous references, but stylistically (c.f. PEP-8),
internal "helper" functions should generally be named accordingly by prepending
an underscore. (I also chose to add '_impl', which isn't necessary, but helps me
at least to mentally disambiguate the interface and implementation functions.)

Diff Detail

Repository
rL LLVM

Event Timeline

dlj created this revision.Jun 28 2017, 1:53 PM
modocache accepted this revision.Jun 28 2017, 2:05 PM

Excellent find, thank you! Looks like this code was added in rL189556, but the references were removed in rL303280.

This revision is now accepted and ready to land.Jun 28 2017, 2:05 PM
This revision was automatically updated to reflect the committed changes.