Skip to content

Commit 7efaad6

Browse files
[NFC] Get rid of #include Lexer.h from ASTContext.cpp (swiftlang#27714)
The only other header that depends on Lexer.h is Sema/TypeChecker.h, so it is safe to get rid of the #include from AST cpp files if it is not being used without worrying about accidental transitive #includes.
1 parent e536cb5 commit 7efaad6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/AST/ASTContext.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
#include "swift/Basic/SourceManager.h"
4848
#include "swift/Basic/Statistic.h"
4949
#include "swift/Basic/StringExtras.h"
50-
#include "swift/Parse/Lexer.h" // bad dependency
5150
#include "swift/Syntax/References.h"
5251
#include "swift/Syntax/SyntaxArena.h"
5352
#include "swift/Strings.h"

0 commit comments

Comments
 (0)