[PATCH] D17226: libclang python bindings: Fix for bug 26394

Jonathan B Coe via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 10 15:34:49 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL263170: libclang python bindings: Fix for bug 26394 (authored by jbcoe).

Changed prior to commit:
  http://reviews.llvm.org/D17226?vs=47874&id=50369#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D17226

Files:
  cfe/trunk/bindings/python/clang/cindex.py

Index: cfe/trunk/bindings/python/clang/cindex.py
===================================================================
--- cfe/trunk/bindings/python/clang/cindex.py
+++ cfe/trunk/bindings/python/clang/cindex.py
@@ -2383,7 +2383,7 @@
         functions above. __init__ is only called internally.
         """
         assert isinstance(index, Index)
-
+        self.index = index
         ClangObject.__init__(self, ptr)
 
     def __del__(self):


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17226.50369.patch
Type: text/x-patch
Size: 444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160310/8c0b06e5/attachment.bin>


More information about the cfe-commits mailing list