Skip to content

Commit 379359c

Browse files
committed
RequirementMachine: Move RequirementMachine.h to lib/AST/RequirementMachine
1 parent d3db1b6 commit 379359c

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

lib/AST/ASTContext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
#include "swift/AST/PropertyWrappers.h"
4242
#include "swift/AST/ProtocolConformance.h"
4343
#include "swift/AST/RawComment.h"
44-
#include "swift/AST/RequirementMachine.h"
4544
#include "swift/AST/SILLayout.h"
4645
#include "swift/AST/SemanticAttrs.h"
4746
#include "swift/AST/SourceFile.h"
@@ -67,6 +66,7 @@
6766
#include <algorithm>
6867
#include <memory>
6968

69+
#include "RequirementMachine/RequirementMachine.h"
7070
#include "RequirementMachine/RewriteContext.h"
7171

7272
using namespace swift;

lib/AST/GenericSignature.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
#include "swift/AST/GenericEnvironment.h"
2323
#include "swift/AST/Module.h"
2424
#include "swift/AST/PrettyStackTrace.h"
25-
#include "swift/AST/RequirementMachine.h"
2625
#include "swift/AST/Types.h"
2726
#include "swift/Basic/STLExtras.h"
27+
#include "RequirementMachine/RequirementMachine.h"
2828
#include <functional>
2929

3030
using namespace swift;

lib/AST/RequirementMachine/GenericSignatureQueries.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
// Use those methods instead of calling into the RequirementMachine directly.
1515
//
1616
//===----------------------------------------------------------------------===//
17-
#include "swift/AST/RequirementMachine.h"
1817
#include "swift/AST/ASTContext.h"
1918
#include "swift/AST/Decl.h"
2019
#include "swift/AST/GenericSignature.h"
2120
#include "swift/AST/Module.h"
2221
#include "llvm/ADT/TinyPtrVector.h"
2322
#include <vector>
2423

24+
#include "RequirementMachine.h"
2525
#include "RequirementMachineImpl.h"
2626
#include "PropertyMap.h"
2727
#include "ProtocolGraph.h"

lib/AST/RequirementMachine/RequirementMachine.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#include "swift/AST/RequirementMachine.h"
1413
#include "swift/AST/ASTContext.h"
1514
#include "swift/AST/Decl.h"
1615
#include "swift/AST/GenericSignature.h"
@@ -21,9 +20,10 @@
2120

2221
#include "PropertyMap.h"
2322
#include "ProtocolGraph.h"
23+
#include "RequirementMachine.h"
24+
#include "RequirementMachineImpl.h"
2425
#include "RewriteContext.h"
2526
#include "RewriteSystem.h"
26-
#include "RequirementMachineImpl.h"
2727

2828
using namespace swift;
2929
using namespace rewriting;

lib/AST/RequirementMachine/RequirementMachineImpl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
#ifndef SWIFT_REQUIREMENTMACHINEIMPL_H
1414
#define SWIFT_REQUIREMENTMACHINEIMPL_H
1515

16-
#include "swift/AST/RequirementMachine.h"
1716
#include "swift/AST/GenericSignature.h"
1817

1918
#include "llvm/ADT/DenseMap.h"
2019
#include <vector>
2120

21+
#include "RequirementMachine.h"
2222
#include "PropertyMap.h"
2323
#include "ProtocolGraph.h"
2424
#include "RewriteContext.h"

0 commit comments

Comments
 (0)