Index of /archives/NetBSD/NetBSD-release-9/src/external/bsd/llvm/dist/clang/bindings/python
Name Last modified Size Description
Parent Directory -
CVS/ 2024-02-15 03:51 -
README.txt 2018-07-18 03:31 603
clang/ 2024-02-15 03:45 -
examples/ 2024-02-15 03:45 -
tests/ 2024-02-15 03:45 -
//===----------------------------------------------------------------------===//
// 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
--