HomePhabricator

Add Python 3 support to clang.cindex

Description

Add Python 3 support to clang.cindex

Summary:
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 do so.

This is an improvement upon the reverted change proposed in https://reviews.llvm.org/D26082

Reviewers: compnerd, skalinichev, modocache, MathieuDuponchelle

Reviewed By: compnerd

Subscribers: cfe-commits

Tags: #clang-c

Differential Revision: https://reviews.llvm.org/D31568

Details

Committed
jbcoeApr 20 2017, 3:11 AM
Reviewer
compnerd
Differential Revision
D31568: Add Python 3 support to clang.cindex
Parents
rL300828: [AArch64] Fix handling of integer fp immediates
Branches
Unknown
Tags
Unknown