diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-07-18 17:40:30 +0000 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-07-18 17:40:30 +0000 |
| commit | 0c2cd674257cc17ef3620403b750555d91743d6a (patch) | |
| tree | 6bceacf5827bed701bdd2b587f5876e0ee8d68bd /lldb/scripts/Python/prepare_binding_Python.py | |
| parent | 17a8a9277c11e41792c53c1513f3e787d66f3c76 (diff) | |
| download | llvm-0c2cd674257cc17ef3620403b750555d91743d6a.zip llvm-0c2cd674257cc17ef3620403b750555d91743d6a.tar.gz llvm-0c2cd674257cc17ef3620403b750555d91743d6a.tar.bz2 | |
[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
Diffstat (limited to 'lldb/scripts/Python/prepare_binding_Python.py')
| -rw-r--r-- | lldb/scripts/Python/prepare_binding_Python.py | 1 |
1 files changed, 1 insertions, 0 deletions
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, |
