mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Parse] Remove unnecessary dependencies to Parser.h
C++ swift::Parser is going to be replaced with SwiftParser+ASTGen. Direct dependencies to it should be removed. Before that, remove unnecessary '#include "swift/Parse/Parser.h"' to clarify what actually depends on 'swift::Parser'. Split 'swift::parseDeclName()' et al. into the dedicated files.
This commit is contained in:
@@ -10,21 +10,22 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "swift/IDE/IDERequests.h"
|
||||
#include "swift/AST/ASTDemangler.h"
|
||||
#include "swift/AST/ASTPrinter.h"
|
||||
#include "swift/AST/Decl.h"
|
||||
#include "swift/AST/Effects.h"
|
||||
#include "swift/AST/NameLookup.h"
|
||||
#include "swift/AST/ASTDemangler.h"
|
||||
#include "swift/Basic/Assertions.h"
|
||||
#include "swift/Basic/SourceManager.h"
|
||||
#include "swift/Frontend/Frontend.h"
|
||||
#include "swift/Frontend/PrintingDiagnosticConsumer.h"
|
||||
#include "swift/IDE/CommentConversion.h"
|
||||
#include "swift/IDE/Utils.h"
|
||||
#include "swift/Sema/IDETypeChecking.h"
|
||||
#include "swift/Markup/XMLUtils.h"
|
||||
#include "swift/Parse/Lexer.h"
|
||||
#include "swift/Sema/IDETypeChecking.h"
|
||||
#include "swift/Subsystems.h"
|
||||
#include "swift/IDE/IDERequests.h"
|
||||
|
||||
using namespace swift;
|
||||
using namespace swift::ide;
|
||||
|
||||
Reference in New Issue
Block a user