summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJonathan Coe <jbcoe@me.com>2017-01-17 20:03:54 +0000
committerJonathan Coe <jbcoe@me.com>2017-01-17 20:03:54 +0000
commite02a3908cf4e68059b383f5d6a90903eb217cc91 (patch)
tree62c33e3b4f26290f080c056a24d93c67f8a3928f /clang/lib/CodeGen/CodeGenModule.cpp
parent86b680a372e38161c4e33b0bf82f129820d9fbb7 (diff)
downloadbcm5719-llvm-e02a3908cf4e68059b383f5d6a90903eb217cc91.tar.gz
bcm5719-llvm-e02a3908cf4e68059b383f5d6a90903eb217cc91.zip
Fix Python 3 language issues and add an explicit check for Python version == 2.
Summary: Python bindings cannot support Python 3 without work being done to fix Unicode c-string conversion. This was attempted in https://reviews.llvm.org/D26082. That patch was reverted due to memory access issues on Linux. This revision fixes enough language compatibility issues for the clang module to be loaded and raise an error if the Python version is not 2. Reviewers: mgorny, MathieuDuponchelle, rengolin, compnerd Reviewed By: compnerd Differential Revision: https://reviews.llvm.org/D28682 llvm-svn: 292247
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud