Skip to content

Commit a92d8d5

Browse files
committed
[Cleanup] Reduce dependencies on swift/AST/LazyResolver.h.
1 parent cb3d6d1 commit a92d8d5

File tree

7 files changed

+7
-1
lines changed

7 files changed

+7
-1
lines changed

include/swift/AST/Decl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#include "swift/AST/GenericParamKey.h"
2828
#include "swift/AST/IfConfigClause.h"
2929
#include "swift/AST/LayoutConstraint.h"
30-
#include "swift/AST/LazyResolver.h"
3130
#include "swift/AST/TypeAlignments.h"
3231
#include "swift/AST/TypeWalker.h"
3332
#include "swift/AST/Witness.h"
@@ -62,6 +61,7 @@ namespace swift {
6261
class GenericSignature;
6362
class GenericTypeParamDecl;
6463
class GenericTypeParamType;
64+
class LazyResolver;
6565
class ModuleDecl;
6666
class NameAliasType;
6767
class EnumCaseDecl;

lib/AST/ASTScope.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include "swift/AST/Decl.h"
2121
#include "swift/AST/Expr.h"
2222
#include "swift/AST/Initializer.h"
23+
#include "swift/AST/LazyResolver.h"
2324
#include "swift/AST/Module.h"
2425
#include "swift/AST/ParameterList.h"
2526
#include "swift/AST/Pattern.h"

lib/AST/ConformanceLookupTable.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include "swift/AST/ASTContext.h"
1919
#include "swift/AST/Decl.h"
2020
#include "swift/AST/ExistentialLayout.h"
21+
#include "swift/AST/LazyResolver.h"
2122
#include "swift/AST/Module.h"
2223
#include "swift/AST/ProtocolConformance.h"
2324
#include "swift/AST/ProtocolConformanceRef.h"

lib/AST/DeclContext.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "swift/AST/Expr.h"
1818
#include "swift/AST/GenericEnvironment.h"
1919
#include "swift/AST/Initializer.h"
20+
#include "swift/AST/LazyResolver.h"
2021
#include "swift/AST/Module.h"
2122
#include "swift/AST/Types.h"
2223
#include "swift/Basic/SourceManager.h"

lib/AST/GenericSignatureBuilder.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "swift/AST/DiagnosticEngine.h"
2323
#include "swift/AST/ExistentialLayout.h"
2424
#include "swift/AST/GenericEnvironment.h"
25+
#include "swift/AST/LazyResolver.h"
2526
#include "swift/AST/Module.h"
2627
#include "swift/AST/ParameterList.h"
2728
#include "swift/AST/ProtocolConformance.h"

lib/AST/LookupVisibleDecls.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "swift/AST/ASTContext.h"
2020
#include "swift/AST/GenericSignatureBuilder.h"
2121
#include "swift/AST/Initializer.h"
22+
#include "swift/AST/LazyResolver.h"
2223
#include "swift/AST/NameLookup.h"
2324
#include "swift/AST/ProtocolConformance.h"
2425
#include "swift/AST/SubstitutionMap.h"

lib/AST/SubstitutionMap.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include "swift/AST/ASTContext.h"
2727
#include "swift/AST/Decl.h"
2828
#include "swift/AST/GenericEnvironment.h"
29+
#include "swift/AST/LazyResolver.h"
2930
#include "swift/AST/Module.h"
3031
#include "swift/AST/ProtocolConformance.h"
3132
#include "swift/AST/Types.h"

0 commit comments

Comments
 (0)