[lldb] Remove check for LLDB_ENABLE_PYTHON in SWIGPythonBridge.h (#182326)
The header guard is redundant because `source/Plugins/ScriptInterpreter/CMakeLists.txt` already gates the entire `Python/` subdirectory behind `LLDB_ENABLE_PYTHON`.
This commit is contained in:
1 parent
e467947047
commit
fece61b281
29 files changed
-138
No files matched your search
@@ -6,10 +6,6 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Host/Config.h"
|
||||
|
||||
#if LLDB_ENABLE_PYTHON
|
||||
|
||||
// LLDB Python header must be included first
|
||||
#include "lldb-python.h"
|
||||
|
||||
@@ -3096,5 +3092,3 @@ void ScriptInterpreterPythonImpl::AddToSysPath(AddLocation location,
|
||||
// when the process exits).
|
||||
//
|
||||
// void ScriptInterpreterPythonImpl::Terminate() { Py_Finalize (); }
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user