diff options
| author | Jonathan Coe <jbcoe@me.com> | 2016-11-03 13:55:34 +0000 |
|---|---|---|
| committer | Jonathan Coe <jbcoe@me.com> | 2016-11-03 13:55:34 +0000 |
| commit | dad22c7cf0f4886421a18acfac4d68fcfb8c9749 (patch) | |
| tree | f910fc204b26bd98f5c1683f7dab38b523cc9e2a /llvm/utils/sort_includes.py | |
| parent | ec1bce853c8fd974bd1efc258dafc11b9500ab24 (diff) | |
| download | bcm5719-llvm-dad22c7cf0f4886421a18acfac4d68fcfb8c9749.tar.gz bcm5719-llvm-dad22c7cf0f4886421a18acfac4d68fcfb8c9749.zip | |
Support for Python 3 in libclang python bindings
Summary:
Python bindings tests now pass in Python 3.
`map` in Python 3 is lazily evaluated so the method by which functions are registered needed updating.
Strings are unicode in Python 3 not UTF-8, I've tried to create an new c_types-like class (c_string_p) to automate the conversion.
String conversions made explicit where required.
Reviewers: eliben, nemanjai, skalinichev, compnerd
Subscribers: mgorny, cfe-commits
Differential Revision: https://reviews.llvm.org/D26082
llvm-svn: 285909
Diffstat (limited to 'llvm/utils/sort_includes.py')
0 files changed, 0 insertions, 0 deletions

