Skip to content

Commit 60dcf83

Browse files
committed
remove unnecessary includes (NFC)
1 parent fd8843b commit 60dcf83

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

lldb/source/Plugins/Language/Swift/SwiftLanguage.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@
3838
#include <mutex>
3939

4040
#include "swift/AST/ImportCache.h"
41-
#include "swift/AST/Module.h"
42-
#include "swift/AST/Type.h"
43-
#include "swift/AST/Types.h"
4441
#include "swift/Basic/InitializeSwiftModules.h"
4542
#include "swift/Demangling/ManglingMacros.h"
4643
#include "llvm/Support/ConvertUTF.h"

lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserSwift.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@
1919
#include "DWARFDefines.h"
2020
#include "SymbolFileDWARF.h"
2121

22-
#include "swift/AST/ASTContext.h"
23-
#include "swift/AST/Decl.h"
24-
#include "swift/Demangling/Demangle.h"
25-
26-
#include "clang/AST/DeclObjC.h"
27-
2822
#include "Plugins/LanguageRuntime/Swift/SwiftLanguageRuntime.h"
2923
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
3024
#include "Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.h"
@@ -38,6 +32,8 @@
3832
#include "lldb/Utility/Log.h"
3933
#include "lldb/Utility/Status.h"
4034

35+
#include "clang/AST/DeclObjC.h"
36+
4137
using namespace lldb;
4238
using namespace lldb_private;
4339
using namespace lldb_private::dwarf;

lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@
3434
#include "swift/ClangImporter/ClangImporter.h"
3535
#include "swift/../../lib/ClangImporter/ClangAdapter.h"
3636
#include "swift/Frontend/Frontend.h"
37-
#include "swift/AST/ClangModuleLoader.h"
38-
#include "swift/Basic/Version.h"
39-
#include "swift/Strings.h"
4037

4138
#include "clang/APINotes/APINotesManager.h"
4239
#include "clang/APINotes/APINotesReader.h"

0 commit comments

Comments
 (0)