]> granicus.if.org Git - clang/commitdiff
[clang.py] Remove trailing whitespace from recent commits
authorGregory Szorc <gregory.szorc@gmail.com>
Tue, 8 May 2012 06:01:34 +0000 (06:01 +0000)
committerGregory Szorc <gregory.szorc@gmail.com>
Tue, 8 May 2012 06:01:34 +0000 (06:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156373 91177308-0d34-0410-b5e6-96231b3b80d8

bindings/python/clang/cindex.py
bindings/python/tests/cindex/test_cursor.py

index bff23cc9d9ebe3c0ac10a44cddae443478e469c1..fa82294130ee56ef2a45d20b5ad2cae32ae90282 100644 (file)
@@ -1094,7 +1094,7 @@ class Cursor(Structure):
         """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 @@ class Cursor(Structure):
         """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."""
 
index 8b12f8d94e91346b97f91ef012f96e7c61698166..eda74f0e2450f38b58a603391dd68329e3d50d0a 100644 (file)
@@ -80,7 +80,7 @@ kParentTest = """\
         class C {
             void f();
         }
-        
+
         void C::f() { }
     """
 def test_semantic_parent():
@@ -89,7 +89,7 @@ def test_semantic_parent():
     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 @@ def test_lexical_parent():
     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():