forked from OSchip/llvm-project
e02a3908cf
Summary: Python bindings cannot support Python 3 without work being done to fix Unicode c-string conversion. This was attempted in https://reviews.llvm.org/D26082. That patch was reverted due to memory access issues on Linux. This revision fixes enough language compatibility issues for the clang module to be loaded and raise an error if the Python version is not 2. Reviewers: mgorny, MathieuDuponchelle, rengolin, compnerd Reviewed By: compnerd Differential Revision: https://reviews.llvm.org/D28682 llvm-svn: 292247 |
||
---|---|---|
.. | ||
clang | ||
examples/cindex | ||
tests | ||
README.txt |
README.txt
//===----------------------------------------------------------------------===// // Clang Python Bindings //===----------------------------------------------------------------------===// This directory implements Python bindings for Clang. You may need to alter LD_LIBRARY_PATH so that the Clang library can be found. The unit tests are designed to be run with 'nosetests'. For example: -- $ env PYTHONPATH=$(echo ~/llvm/tools/clang/bindings/python/) \ LD_LIBRARY_PATH=$(llvm-config --libdir) \ nosetests -v tests.cindex.test_index.test_create ... ok ... OK --