forked from OSchip/llvm-project
e7e1d9349b
Summary: adding function: `Cursor.get_included_file` , so the C API's `clang_getIncludedFile` function is available on the python binding interface also adding test to unittests related ticket: https://bugs.llvm.org/show_bug.cgi?id=15223 Reviewers: mgorny, arphaman, jbcoe Reviewed By: jbcoe Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D46383 Patch by jlaz (József Láz) llvm-svn: 332045 |
||
---|---|---|
.. | ||
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 any standard test runner. For example: -- $ env PYTHONPATH=$(echo ~/llvm/tools/clang/bindings/python/) \ LD_LIBRARY_PATH=$(llvm-config --libdir) \ python -m unittest discover -v tests.cindex.test_index.test_create ... ok ... OK --