Skip to content

Commit 5f03c73

Browse files
committed
RequirementMachine: Preliminary implementation of homotopy reduction
1 parent c6403e6 commit 5f03c73

File tree

5 files changed

+558
-164
lines changed

5 files changed

+558
-164
lines changed

lib/AST/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ add_swift_host_library(swiftAST STATIC
7474
ProtocolConformance.cpp
7575
RawComment.cpp
7676
RequirementEnvironment.cpp
77+
RequirementMachine/HomotopyReduction.cpp
7778
RequirementMachine/GenericSignatureQueries.cpp
7879
RequirementMachine/PropertyMap.cpp
7980
RequirementMachine/ProtocolGraph.cpp

lib/AST/RequirementMachine/Debug.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ enum class DebugFlags : unsigned {
3434
ConcreteUnification = (1<<4),
3535

3636
/// Print debug output when concretizing nested types in the property map.
37-
ConcretizeNestedTypes = (1<<5)
37+
ConcretizeNestedTypes = (1<<5),
3838

3939
/// Print debug output from the homotopy reduction algorithm.
40-
HomotopyReduction = (1<<7),
40+
HomotopyReduction = (1<<6)
4141
};
4242

4343
using DebugOptions = OptionSet<DebugFlags>;

0 commit comments

Comments
 (0)