This is an archive of the discontinued LLVM Phabricator instance.

[lldb][NFC] Remove FormatterChoiceCriterion
ClosedPublic

Authored by teemperor on Apr 12 2020, 2:56 AM.

Details

Summary

The formatters code has a lot of 'reason' or 'why' values that we keep or-ing FormatterChoiceCriterion
enum values into. These values are only read by a single log statement and don't have any functional
purpose. It also seems the implementation is not finished (for example, display names and type
names don't have any dedicated enum values). Also everything is of course not tested or documented.

Let's just remove all of this.

Diff Detail

Event Timeline

teemperor created this revision.Apr 12 2020, 2:56 AM
teemperor edited the summary of this revision. (Show Details)

Looks like a good cleanup.

labath accepted this revision.Apr 14 2020, 5:38 AM

nuke it from orbit

This revision is now accepted and ready to land.Apr 14 2020, 5:38 AM
vsk accepted this revision.Apr 14 2020, 9:30 AM

Thanks!

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 15 2020, 1:03 AM