Move lldb-python.h to be the first included as its comment demands. (#197048)
The comment was preserved even though the header was almost never actually placed first. For the most part that didn't matter, but you can through bad luck uncover the conflict between Python typedefs (in this case of pid_t) and ones from include/lldb/Host/windows/PosixAPI.h. So this patch just moves this header to the front in all its appearances.
This commit is contained in:
1 parent
0d552b1ffb
commit
abf90bf9ae
15 files changed
+63
-39
No files matched your search
@@ -6,8 +6,10 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// clang-format off
|
||||
// LLDB Python header must be included first
|
||||
#include "lldb-python.h"
|
||||
//clang-format on
|
||||
|
||||
#include "Interfaces/ScriptInterpreterPythonInterfaces.h"
|
||||
#include "PythonDataObjects.h"
|
||||
|
||||
Reference in new issue
Block a user