summaryrefslogtreecommitdiffstats
path: root/clang/bindings/python/tests
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2011-02-05 17:53:53 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2011-02-05 17:53:53 +0000
commit0e19c192f5c7bde5d12eefc640e12e452688b7e7 (patch)
tree0f499fe4d29d3cb2c77255b223c001e045797a7d /clang/bindings/python/tests
parent5153e7993112ffa5a78ef584d7bb2990cc764cf6 (diff)
downloadbcm5719-llvm-0e19c192f5c7bde5d12eefc640e12e452688b7e7.tar.gz
bcm5719-llvm-0e19c192f5c7bde5d12eefc640e12e452688b7e7.zip
python bindings: Remove unneeded instruction
llvm-svn: 124954
Diffstat (limited to 'clang/bindings/python/tests')
-rw-r--r--clang/bindings/python/tests/cindex/test_diagnostics.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/bindings/python/tests/cindex/test_diagnostics.py b/clang/bindings/python/tests/cindex/test_diagnostics.py
index 33876cfd20b..c1ff0e38baa 100644
--- a/clang/bindings/python/tests/cindex/test_diagnostics.py
+++ b/clang/bindings/python/tests/cindex/test_diagnostics.py
@@ -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.
OpenPOWER on IntegriCloud