diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp index 62421238fb0d..759fbd01ce12 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 48e47f3e7476..b1e49d49a417 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 d0a9e26e8848..41dc4cec0f13 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;