[PATCH] D31568: Add Python 3 support to clang.cindex

2017-04-20 Thread Jonathan B Coe via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL300829: Add Python 3 support to clang.cindex (authored by jbcoe). Changed prior to commit: https://reviews.llvm.org/D31568?vs=94120=95918#toc Repository: rL LLVM https://reviews.llvm.org/D31568

[PATCH] D31568: Add Python 3 support to clang.cindex

2017-04-19 Thread Saleem Abdulrasool via Phabricator via cfe-commits
compnerd accepted this revision. compnerd added a comment. This revision is now accepted and ready to land. I think it would've been nice to split this up into the changes for map/filter rather than group it together. But sure, this looks reasonable. Repository: rL LLVM

[PATCH] D31568: Add Python 3 support to clang.cindex

2017-04-04 Thread Jonathan B Coe via Phabricator via cfe-commits
jbcoe updated this revision to Diff 94120. jbcoe added a comment. Remove a couple of unnecessary type conversions. Repository: rL LLVM https://reviews.llvm.org/D31568 Files: clang/bindings/python/clang/__init__.py clang/bindings/python/clang/cindex.py

[PATCH] D31568: Add Python 3 support to clang.cindex

2017-04-01 Thread Jonathan B Coe via Phabricator via cfe-commits
jbcoe created this revision. jbcoe added a project: clang-c. Introduce an interop string to convert from unicode to c-strings where needed. Add missing conversions from _CXString to strings in function registrations. Explicitly evaluate lists where Python 3's lazy iterators would not otherwise