[Lldb-commits] [lldb] 846e022 - [lldb] NFC: Use standard comment for lldb-python.h include (#181498)
via lldb-commits
lldb-commits at lists.llvm.org
Sat Feb 14 10:56:15 PST 2026
Author: rchamala
Date: 2026-02-14T10:56:10-08:00
New Revision: 846e022a5d145ede7d7558c03d4a1559b96b34d3
URL: https://github.com/llvm/llvm-project/commit/846e022a5d145ede7d7558c03d4a1559b96b34d3
DIFF: https://github.com/llvm/llvm-project/commit/846e022a5d145ede7d7558c03d4a1559b96b34d3.diff
LOG: [lldb] NFC: Use standard comment for lldb-python.h include (#181498)
## Summary
Use the standard `// LLDB Python header must be included first.` comment
to match every other Python interface `.cpp` file in this directory, as
suggested by @JDevlieghere.
## Test plan
NFC - comment only change.
Co-authored-by: Rahul Reddy Chamala <rachamal at meta.com>
Added:
Modified:
lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptInterpreterPythonInterfaces.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptInterpreterPythonInterfaces.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptInterpreterPythonInterfaces.cpp
index 7cb5c90f8e14b..faa293c23c83a 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptInterpreterPythonInterfaces.cpp
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptInterpreterPythonInterfaces.cpp
@@ -11,8 +11,7 @@
#if LLDB_ENABLE_PYTHON
-// Include lldb-python.h first to define NO_PID_T on Windows before any
-// LLDB header transitively pulls in PosixApi.h.
+// LLDB Python header must be included first.
#include "../lldb-python.h"
#include "ScriptInterpreterPythonInterfaces.h"
More information about the lldb-commits
mailing list