Skip to content

[lldb] Remove some unused include related to swift #2887

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions lldb/source/API/SystemInitializerFull.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,6 @@
#include "lldb/Utility/Timer.h"
#include "llvm/Support/TargetSelect.h"

#ifdef LLDB_ENABLE_SWIFT
#include "Plugins/ExpressionParser/Swift/SwiftREPL.h"
#include "Plugins/InstrumentationRuntime/SwiftRuntimeReporting/SwiftRuntimeReporting.h"
#include "Plugins/Language/Swift/SwiftLanguage.h"
#include "Plugins/TypeSystem/Swift/SwiftASTContext.h"
#include "lldb/Target/SwiftLanguageRuntime.h"
#endif //LLDB_ENABLE_SWIFT

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wglobal-constructors"
#include "llvm/ExecutionEngine/MCJIT.h"
Expand Down
4 changes: 0 additions & 4 deletions lldb/source/Expression/IRExecutionUnit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@
#include "lldb/../../source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h"
#include "lldb/../../source/Plugins/ObjectFile/JIT/ObjectFileJIT.h"

#ifdef LLDB_ENABLE_SWIFT
#include "lldb/Target/SwiftLanguageRuntime.h"
#endif //LLDB_ENABLE_SWIFT

using namespace lldb_private;

IRExecutionUnit::IRExecutionUnit(std::unique_ptr<llvm::LLVMContext> &context_up,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@
#include "lldb/Utility/Log.h"
#include "lldb/Utility/StreamString.h"

#ifdef LLDB_ENABLE_SWIFT
#include "Plugins/TypeSystem/Swift/SwiftASTContext.h" // Needed for llvm::isa<SwiftASTContext>(...)
#include "lldb/Symbol/TypeSystem.h"
#include "swift/AST/Decl.h"
#include "swift/AST/Pattern.h"
#endif // LLDB_ENABLE_SWIFT
#include "clang/AST/Decl.h"

#include "llvm/ADT/StringMap.h"
Expand Down