diff options
| author | Alex Lorenz <arphaman@gmail.com> | 2017-12-14 23:40:42 +0000 |
|---|---|---|
| committer | Alex Lorenz <arphaman@gmail.com> | 2017-12-14 23:40:42 +0000 |
| commit | 4c087abe28a0b285ab09880073b6dfd50f1f8cce (patch) | |
| tree | 0b721db7a9f26d19396cf53c27fe7d907893cf9f /clang/bindings/python/tests | |
| parent | 47475f9ec7d35aa04ce3a18e08fea3c6e1ed0074 (diff) | |
| download | bcm5719-llvm-4c087abe28a0b285ab09880073b6dfd50f1f8cce.tar.gz bcm5719-llvm-4c087abe28a0b285ab09880073b6dfd50f1f8cce.zip | |
Remove duplicate python libclang changes from r320748
llvm-svn: 320766
Diffstat (limited to 'clang/bindings/python/tests')
| -rw-r--r-- | clang/bindings/python/tests/cindex/test_cursor.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/clang/bindings/python/tests/cindex/test_cursor.py b/clang/bindings/python/tests/cindex/test_cursor.py index 80f023912ac..c2a4eb57d02 100644 --- a/clang/bindings/python/tests/cindex/test_cursor.py +++ b/clang/bindings/python/tests/cindex/test_cursor.py @@ -286,17 +286,6 @@ class TestCursor(unittest.TestCase): cls = get_cursor(tu, 'Y') self.assertFalse(cls.is_abstract_record()) - def test_is_abstract_record(self): - """Ensure Cursor.is_abstract_record works.""" - source = 'struct X { virtual void x() = 0; }; struct Y : X { void x(); };' - tu = get_tu(source, lang='cpp') - - cls = get_cursor(tu, 'X') - self.assertTrue(cls.is_abstract_record()) - - cls = get_cursor(tu, 'Y') - self.assertFalse(cls.is_abstract_record()) - def test_is_scoped_enum(self): """Ensure Cursor.is_scoped_enum works.""" source = 'class X {}; enum RegularEnum {}; enum class ScopedEnum {};' |

