From 0c2cd674257cc17ef3620403b750555d91743d6a Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Thu, 18 Jul 2019 17:40:30 +0000 Subject: [swig] Enable autodoc feature This patch enables the SWIG `autodoc` feature so that the generated Python reference [1] includes class properties. [1] https://lldb.llvm.org/python_reference/index.html llvm-svn: 366471 --- lldb/scripts/Python/prepare_binding_Python.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/scripts/Python/prepare_binding_Python.py') diff --git a/lldb/scripts/Python/prepare_binding_Python.py b/lldb/scripts/Python/prepare_binding_Python.py index 31aef6c..f642ba3 100644 --- a/lldb/scripts/Python/prepare_binding_Python.py +++ b/lldb/scripts/Python/prepare_binding_Python.py @@ -204,6 +204,7 @@ def do_swig_rebuild(options, dependency_file, config_build_dir, settings): "-c++", "-shadow", "-python", + "-features autodoc" "-threads", "-I" + os.path.normpath(os.path.join(options.src_root, "include")), "-I" + os.path.curdir, -- cgit v1.1