llvm-project/clang/bindings/python
Saleem Abdulrasool ae0e635f60 bindings: expose diagnostic formatting to Python
This makes it easier for tools using the Python libclang bindings to display
diagnostics in a manner consistent with clang.

Patch by Omar Sandoval!

llvm-svn: 278315
2016-08-11 05:31:07 +00:00
..
clang bindings: expose diagnostic formatting to Python 2016-08-11 05:31:07 +00:00
examples/cindex cindex-dump.py: fix the --show-ids description string 2014-05-05 04:42:26 +00:00
tests python: add bindings for children of diagnostics 2016-04-30 21:14:01 +00:00
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
--