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:
@@ -18,18 +18,16 @@
|
||||
#include "ArgsToFrontendOptionsConverter.h"
|
||||
#include "swift/AST/DiagnosticsFrontend.h"
|
||||
#include "swift/Basic/Assertions.h"
|
||||
#include "swift/Basic/Assertions.h"
|
||||
#include "swift/Basic/Feature.h"
|
||||
#include "swift/Basic/Platform.h"
|
||||
#include "swift/Option/Options.h"
|
||||
#include "swift/Option/SanitizerOptions.h"
|
||||
#include "swift/Parse/Lexer.h"
|
||||
#include "swift/Parse/ParseVersion.h"
|
||||
#include "swift/SIL/SILBridging.h"
|
||||
#include "swift/Strings.h"
|
||||
#include "swift/SymbolGraphGen/SymbolGraphOptions.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/Support/VersionTuple.h"
|
||||
#include "llvm/TargetParser/Triple.h"
|
||||
#include "llvm/Option/Arg.h"
|
||||
#include "llvm/Option/ArgList.h"
|
||||
#include "llvm/Option/Option.h"
|
||||
@@ -37,7 +35,9 @@
|
||||
#include "llvm/Support/LineIterator.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
#include "llvm/Support/Process.h"
|
||||
#include "llvm/Support/VersionTuple.h"
|
||||
#include "llvm/Support/WithColor.h"
|
||||
#include "llvm/TargetParser/Triple.h"
|
||||
|
||||
using namespace swift;
|
||||
using namespace llvm::opt;
|
||||
|
||||
Reference in New Issue
Block a user