projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6092de5
)
libclang python bindings: Fix for bug 26394
author
Jonathan Coe
<jbcoe@me.com>
Thu, 10 Mar 2016 23:29:45 +0000
(23:29 +0000)
committer
Jonathan Coe
<jbcoe@me.com>
Thu, 10 Mar 2016 23:29:45 +0000
(23:29 +0000)
Summary:
https://llvm.org/bugs/show_bug.cgi?id=26394 reports that clang's python bindings tests are failing.
I can confirm that the bug exists and that the proposed fix is good.
Differential Revision: http://reviews.llvm.org/D17226
llvm-svn: 263170
clang/bindings/python/clang/cindex.py
patch
|
blob
|
history
diff --git
a/clang/bindings/python/clang/cindex.py
b/clang/bindings/python/clang/cindex.py
index
f4c7ca4
..
4d450ec
100644
(file)
--- a/
clang/bindings/python/clang/cindex.py
+++ b/
clang/bindings/python/clang/cindex.py
@@
-2383,7
+2383,7
@@
class TranslationUnit(ClangObject):
functions above. __init__ is only called internally.
"""
assert isinstance(index, Index)
-
+ self.index = index
ClangObject.__init__(self, ptr)
def __del__(self):