diff options
| author | Jonathan Coe <jbcoe@me.com> | 2016-03-10 23:29:45 +0000 |
|---|---|---|
| committer | Jonathan Coe <jbcoe@me.com> | 2016-03-10 23:29:45 +0000 |
| commit | 02281b84198e06eda2f71b230a30b0b9dc5f5cca (patch) | |
| tree | cbd58620ee8faa39ef36f06ba2d943e68e4670ad /clang | |
| parent | 6092de50750e85b6866950884512ba281d431391 (diff) | |
| download | bcm5719-llvm-02281b84198e06eda2f71b230a30b0b9dc5f5cca.tar.gz bcm5719-llvm-02281b84198e06eda2f71b230a30b0b9dc5f5cca.zip | |
libclang python bindings: Fix for bug 26394
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
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/bindings/python/clang/cindex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/bindings/python/clang/cindex.py b/clang/bindings/python/clang/cindex.py index f4c7ca4986f..4d450eca180 100644 --- 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): |

