From: Jonas Devlieghere Date: Wed, 27 Mar 2019 21:45:11 +0000 (+0000) Subject: [Python] Remove unused includes X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a6c757252409796d0fc7add064aace61e706968;p=platform%2Fupstream%2Fllvm.git [Python] Remove unused includes llvm-svn: 357126 --- diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp index 6242123..759fbd0 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp @@ -20,13 +20,12 @@ #include "lldb/Interpreter/ScriptInterpreter.h" #include "lldb/Utility/Stream.h" +#include "llvm/ADT/StringSwitch.h" #include "llvm/Support/ConvertUTF.h" #include "llvm/Support/Errno.h" #include -#include "llvm/ADT/StringSwitch.h" - using namespace lldb_private; using namespace lldb; diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h index 48e47f3..b1e49d4 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h @@ -14,13 +14,8 @@ // LLDB Python header must be included first #include "lldb-python.h" -#include "lldb/Utility/Flags.h" - #include "lldb/Host/File.h" -#include "lldb/Interpreter/OptionValue.h" -#include "lldb/Utility/ConstString.h" #include "lldb/Utility/StructuredData.h" -#include "lldb/lldb-defines.h" #include "llvm/ADT/ArrayRef.h" diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp index d0a9e26..41dc4ce 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp @@ -19,16 +19,8 @@ #include "PythonExceptionState.h" #include "ScriptInterpreterPython.h" -#include -#include - -#include -#include -#include - #include "lldb/API/SBValue.h" #include "lldb/API/SBFrame.h" -#include "lldb/Breakpoint/BreakpointLocation.h" #include "lldb/Breakpoint/StoppointCallbackContext.h" #include "lldb/Breakpoint/WatchpointOptions.h" #include "lldb/Core/Communication.h" @@ -54,6 +46,12 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Support/FileSystem.h" +#include +#include +#include +#include +#include + using namespace lldb; using namespace lldb_private;