Index of /archives/NetBSD/NetBSD-release-9/src/external/bsd/llvm/dist/clang/bindings/python

Icon  Name                                                                         Last modified      Size  Description
[PARENTDIR] Parent Directory - [DIR] CVS/ 2024-02-15 03:51 - [TXT] README.txt 2018-07-18 03:31 603 [DIR] clang/ 2024-02-15 03:45 - [DIR] examples/ 2024-02-15 03:45 - [DIR] 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
--