Skip to content

Commit a3ab5f4

Browse files
committed
RequirementMachine: Remove no-longer used DebugFlags::Merge
1 parent 90893b9 commit a3ab5f4

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

lib/AST/RequirementMachine/Debug.h

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,45 +26,42 @@ enum class DebugFlags : unsigned {
2626
/// Print debug output when adding rules.
2727
Add = (1<<1),
2828

29-
/// Print debug output when merging associated types.
30-
Merge = (1<<2),
31-
3229
/// Print debug output from the Knuth-Bendix algorithm.
33-
Completion = (1<<3),
30+
Completion = (1<<2),
3431

3532
/// Print debug output from property map construction.
36-
PropertyMap = (1<<4),
33+
PropertyMap = (1<<3),
3734

3835
/// Print debug output when unifying concrete types in the property map.
39-
ConcreteUnification = (1<<5),
36+
ConcreteUnification = (1<<4),
4037

4138
/// Print debug output when concretizing nested types in the property map.
42-
ConcretizeNestedTypes = (1<<6),
39+
ConcretizeNestedTypes = (1<<5),
4340

4441
/// Print debug output when inferring conditional requirements in the
4542
/// property map.
46-
ConditionalRequirements = (1<<7),
43+
ConditionalRequirements = (1<<6),
4744

4845
/// Print debug output from the homotopy reduction algorithm.
49-
HomotopyReduction = (1<<8),
46+
HomotopyReduction = (1<<7),
5047

5148
/// Print more detailed debug output from the homotopy reduction algorithm.
52-
HomotopyReductionDetail = (1<<9),
49+
HomotopyReductionDetail = (1<<8),
5350

5451
/// Print debug output from the minimal conformances algorithm.
55-
MinimalConformances = (1<<10),
52+
MinimalConformances = (1<<9),
5653

5754
/// Print debug output from the protocol dependency graph.
58-
ProtocolDependencies = (1<<11),
55+
ProtocolDependencies = (1<<10),
5956

6057
/// Print debug output from generic signature minimization.
61-
Minimization = (1<<12),
58+
Minimization = (1<<11),
6259

6360
/// Print redundant rules and their replacement paths.
64-
RedundantRules = (1<<13),
61+
RedundantRules = (1<<12),
6562

6663
/// Print more detail about redundant rules.
67-
RedundantRulesDetail = (1<<14)
64+
RedundantRulesDetail = (1<<13)
6865
};
6966

7067
using DebugOptions = OptionSet<DebugFlags>;

lib/AST/RequirementMachine/RewriteContext.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ static DebugOptions parseDebugFlags(StringRef debugFlags) {
2929
auto flag = llvm::StringSwitch<Optional<DebugFlags>>(flagStr)
3030
.Case("simplify", DebugFlags::Simplify)
3131
.Case("add", DebugFlags::Add)
32-
.Case("merge", DebugFlags::Merge)
3332
.Case("completion", DebugFlags::Completion)
3433
.Case("property-map", DebugFlags::PropertyMap)
3534
.Case("concrete-unification", DebugFlags::ConcreteUnification)

0 commit comments

Comments
 (0)