[cfe-commits] r156373 - in /cfe/trunk/bindings/python: clang/cindex.py tests/cindex/test_cursor.py

Gregory Szorc gregory.szorc at gmail.com
Mon May 7 23:01:34 PDT 2012


Author: gps
Date: Tue May  8 01:01:34 2012
New Revision: 156373

URL: http://llvm.org/viewvc/llvm-project?rev=156373&view=rev
Log:
[clang.py] Remove trailing whitespace from recent commits

Modified:
    cfe/trunk/bindings/python/clang/cindex.py
    cfe/trunk/bindings/python/tests/cindex/test_cursor.py

Modified: cfe/trunk/bindings/python/clang/cindex.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/bindings/python/clang/cindex.py?rev=156373&r1=156372&r2=156373&view=diff
==============================================================================
--- cfe/trunk/bindings/python/clang/cindex.py (original)
+++ cfe/trunk/bindings/python/clang/cindex.py Tue May  8 01:01:34 2012
@@ -1094,7 +1094,7 @@
         """Return the semantic parent for this cursor."""
         if not hasattr(self, '_semantic_parent'):
             self._semantic_parent = Cursor_semantic_parent(self)
-        
+
         return self._semantic_parent
 
     @property
@@ -1102,9 +1102,9 @@
         """Return the lexical parent for this cursor."""
         if not hasattr(self, '_lexical_parent'):
             self._lexical_parent = Cursor_lexical_parent(self)
-        
+
         return self._lexical_parent
-		
+
     def get_children(self):
         """Return an iterator for accessing the children of this cursor."""
 

Modified: cfe/trunk/bindings/python/tests/cindex/test_cursor.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/bindings/python/tests/cindex/test_cursor.py?rev=156373&r1=156372&r2=156373&view=diff
==============================================================================
--- cfe/trunk/bindings/python/tests/cindex/test_cursor.py (original)
+++ cfe/trunk/bindings/python/tests/cindex/test_cursor.py Tue May  8 01:01:34 2012
@@ -80,7 +80,7 @@
         class C {
             void f();
         }
-        
+
         void C::f() { }
     """
 def test_semantic_parent():
@@ -89,7 +89,7 @@
     decl = get_cursor(tu, 'C')
     assert(len(curs) == 2)
     assert(curs[0].semantic_parent == curs[1].semantic_parent)
-    assert(curs[0].semantic_parent == decl)   
+    assert(curs[0].semantic_parent == decl)
 
 def test_lexical_parent():
     tu = get_tu(kParentTest, 'cpp')
@@ -97,7 +97,7 @@
     decl = get_cursor(tu, 'C')
     assert(len(curs) == 2)
     assert(curs[0].lexical_parent != curs[1].lexical_parent)
-    assert(curs[0].lexical_parent == decl)   
+    assert(curs[0].lexical_parent == decl)
     assert(curs[1].lexical_parent == tu.cursor)
 
 def test_enum_type():





More information about the cfe-commits mailing list