]> granicus.if.org Git - clang/commitdiff
python bindings: Remove unneeded instruction
authorTobias Grosser <grosser@fim.uni-passau.de>
Sat, 5 Feb 2011 17:53:53 +0000 (17:53 +0000)
committerTobias Grosser <grosser@fim.uni-passau.de>
Sat, 5 Feb 2011 17:53:53 +0000 (17:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124954 91177308-0d34-0410-b5e6-96231b3b80d8

bindings/python/tests/cindex/test_diagnostics.py

index 33876cfd20b3e39b9c577afee63a7752da4ec80a..c1ff0e38baada2a903557801ec5e2aa5d77d3586 100644 (file)
@@ -3,8 +3,6 @@ from clang.cindex import *
 def tu_from_source(source):
     index = Index.create()
     tu = index.parse('INPUT.c', unsaved_files = [('INPUT.c', source)])
-    # FIXME: Remove the need for this.
-    tu.index = index
     return tu
 
 # FIXME: We need support for invalid translation units to test better.