[cfe-commits] r124954 - /cfe/trunk/bindings/python/tests/cindex/test_diagnostics.py

Tobias Grosser grosser at fim.uni-passau.de
Sat Feb 5 09:53:54 PST 2011


Author: grosser
Date: Sat Feb  5 11:53:53 2011
New Revision: 124954

URL: http://llvm.org/viewvc/llvm-project?rev=124954&view=rev
Log:
python bindings: Remove unneeded instruction

Modified:
    cfe/trunk/bindings/python/tests/cindex/test_diagnostics.py

Modified: cfe/trunk/bindings/python/tests/cindex/test_diagnostics.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/bindings/python/tests/cindex/test_diagnostics.py?rev=124954&r1=124953&r2=124954&view=diff
==============================================================================
--- cfe/trunk/bindings/python/tests/cindex/test_diagnostics.py (original)
+++ cfe/trunk/bindings/python/tests/cindex/test_diagnostics.py Sat Feb  5 11:53:53 2011
@@ -3,8 +3,6 @@
 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.





More information about the cfe-commits mailing list