[Lldb-commits] [lldb] 2756ba5 - [lldb] Enable SWIG Doxygen Translation (#147617)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 9 09:14:01 PDT 2025
Author: Jonas Devlieghere
Date: 2025-07-09T09:13:57-07:00
New Revision: 2756ba57f1541d63af0fd01f9fda773d88dcc3b5
URL: https://github.com/llvm/llvm-project/commit/2756ba57f1541d63af0fd01f9fda773d88dcc3b5
DIFF: https://github.com/llvm/llvm-project/commit/2756ba57f1541d63af0fd01f9fda773d88dcc3b5.diff
LOG: [lldb] Enable SWIG Doxygen Translation (#147617)
Enable SWIG support for translating Doxygen comments found in interface
and header files into a target language's normal documentation language.
This feature was introduced in SWIG 4.0 and currently only supports
Python (and Java). Hand-written documentation still takes precedence.
SWIG documentation: https://www.swig.org/Doc4.0/Doxygen.html
Added:
Modified:
lldb/bindings/python/CMakeLists.txt
Removed:
################################################################################
diff --git a/lldb/bindings/python/CMakeLists.txt b/lldb/bindings/python/CMakeLists.txt
index 69306a384e0b1..ef6def3f26872 100644
--- a/lldb/bindings/python/CMakeLists.txt
+++ b/lldb/bindings/python/CMakeLists.txt
@@ -14,6 +14,7 @@ add_custom_command(
DEPENDS lldb-sbapi-dwarf-enums
COMMAND ${SWIG_EXECUTABLE}
${SWIG_COMMON_FLAGS}
+ -doxygen
-I${CMAKE_CURRENT_SOURCE_DIR}
${SWIG_EXTRA_FLAGS}
-outdir ${CMAKE_CURRENT_BINARY_DIR}
More information about the lldb-commits
mailing list