]> granicus.if.org Git - clang/commit
[python bindings] Fix Cursor.result_type for ObjC method declarations - Bug 36677
authorJonathan Coe <jbcoe@me.com>
Sun, 22 Apr 2018 20:51:05 +0000 (20:51 +0000)
committerJonathan Coe <jbcoe@me.com>
Sun, 22 Apr 2018 20:51:05 +0000 (20:51 +0000)
commit33a33e52edd3135424687beae94eefb01e5d60f8
treea9f8cf710463e0f2acd90aad25311d153445205f
parent67f6e8a2d2dd18a27940560167135c468570e67c
[python bindings] Fix Cursor.result_type for ObjC method declarations - Bug 36677

Summary:
In cindex.py, Cursor.result_type called into the wrong libclang
function, causing cursors for ObjC method declarations to return invalid
result types. Fixes Bug 36677.

Reviewers: jbcoe, rsmith

Reviewed By: jbcoe

Subscribers: cfe-commits, llvm-commits

Differential Revision: https://reviews.llvm.org/D45671

Patch by kjteske (Kyle Teske).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330557 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/python/clang/cindex.py
bindings/python/tests/cindex/test_cursor.py