Skip to content

Commit 6b304bd

Browse files
authored
Merge pull request swiftlang#2887 from bulbazord/remove-unused-includes-5.5
[lldb] Remove some unused include related to swift
2 parents cf0cef7 + fd46ce1 commit 6b304bd

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

lldb/source/API/SystemInitializerFull.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@
1919
#include "lldb/Utility/Timer.h"
2020
#include "llvm/Support/TargetSelect.h"
2121

22-
#ifdef LLDB_ENABLE_SWIFT
23-
#include "Plugins/ExpressionParser/Swift/SwiftREPL.h"
24-
#include "Plugins/InstrumentationRuntime/SwiftRuntimeReporting/SwiftRuntimeReporting.h"
25-
#include "Plugins/Language/Swift/SwiftLanguage.h"
26-
#include "Plugins/TypeSystem/Swift/SwiftASTContext.h"
27-
#include "lldb/Target/SwiftLanguageRuntime.h"
28-
#endif //LLDB_ENABLE_SWIFT
29-
3022
#pragma clang diagnostic push
3123
#pragma clang diagnostic ignored "-Wglobal-constructors"
3224
#include "llvm/ExecutionEngine/MCJIT.h"

lldb/source/Expression/IRExecutionUnit.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@
3434
#include "lldb/../../source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h"
3535
#include "lldb/../../source/Plugins/ObjectFile/JIT/ObjectFileJIT.h"
3636

37-
#ifdef LLDB_ENABLE_SWIFT
38-
#include "lldb/Target/SwiftLanguageRuntime.h"
39-
#endif //LLDB_ENABLE_SWIFT
40-
4137
using namespace lldb_private;
4238

4339
IRExecutionUnit::IRExecutionUnit(std::unique_ptr<llvm::LLVMContext> &context_up,

lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@
1717
#include "lldb/Utility/Log.h"
1818
#include "lldb/Utility/StreamString.h"
1919

20-
#ifdef LLDB_ENABLE_SWIFT
21-
#include "Plugins/TypeSystem/Swift/SwiftASTContext.h" // Needed for llvm::isa<SwiftASTContext>(...)
22-
#include "lldb/Symbol/TypeSystem.h"
23-
#include "swift/AST/Decl.h"
24-
#include "swift/AST/Pattern.h"
25-
#endif // LLDB_ENABLE_SWIFT
2620
#include "clang/AST/Decl.h"
2721

2822
#include "llvm/ADT/StringMap.h"

0 commit comments

Comments
 (0)