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:
@@ -39,7 +39,6 @@
|
||||
#include "swift/IRGen/TBDGen.h"
|
||||
#include "swift/Migrator/MigratorOptions.h"
|
||||
#include "swift/Parse/IDEInspectionCallbacks.h"
|
||||
#include "swift/Parse/Parser.h"
|
||||
#include "swift/Sema/SourceLoader.h"
|
||||
#include "swift/Serialization/Validation.h"
|
||||
#include "swift/Subsystems.h"
|
||||
@@ -52,9 +51,9 @@
|
||||
#include "llvm/Option/ArgList.h"
|
||||
#include "llvm/Support/BLAKE3.h"
|
||||
#include "llvm/Support/HashingOutputBackend.h"
|
||||
#include "llvm/TargetParser/Host.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
#include "llvm/Support/VirtualOutputBackend.h"
|
||||
#include "llvm/TargetParser/Host.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user