[lldb][NFC] Remove FormatterChoiceCriterion
authorRaphael Isemann <teemperor@gmail.com>
Wed, 15 Apr 2020 05:34:14 +0000 (07:34 +0200)
committerRaphael Isemann <teemperor@gmail.com>
Wed, 15 Apr 2020 07:47:15 +0000 (09:47 +0200)
commit3e3701f8a0bfafdbca91d4a9cae56c69242c754c
tree9b0d5a4638024771ec532010a6d899d7d2ec629c
parentb747d72c1971bebb31bed9cb61b492a24b3f1277
[lldb][NFC] Remove FormatterChoiceCriterion

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.

Reviewers: labath, JDevlieghere, jingham, davide, vsk

Reviewed By: labath, vsk

Subscribers: JDevlieghere

Differential Revision: https://reviews.llvm.org/D77968
lldb/include/lldb/DataFormatters/FormatClasses.h
lldb/include/lldb/DataFormatters/FormatManager.h
lldb/include/lldb/DataFormatters/FormattersContainer.h
lldb/include/lldb/DataFormatters/TypeCategory.h
lldb/include/lldb/lldb-private-enumerations.h
lldb/source/DataFormatters/FormatManager.cpp
lldb/source/DataFormatters/TypeCategory.cpp
lldb/source/DataFormatters/TypeCategoryMap.cpp