[llvm-bugs] [Bug 36677] New: [python binding] cindex.py's Cursor.result_type should call clang_getCursorResultType()
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Mar 9 11:15:26 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=36677
Bug ID: 36677
Summary: [python binding] cindex.py's Cursor.result_type should
call clang_getCursorResultType()
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: libclang
Assignee: unassignedclangbugs at nondot.org
Reporter: kjteske at gmail.com
CC: klimek at google.com, llvm-bugs at lists.llvm.org
Right now, cindex's Cursor.result_type method calls clang_getResultType().
Often, clang_getCursorResultType() and clang_getResultType() will do the same
thing, but for Objective C method declarations, only
clang_getCursorResultType() returns the correct value.
Found this working on https://github.com/niosus/EasyClangComplete/pull/430,
which has some test cases in that environment.
I can strip down to a small example if needed, but I think the bug and fix are
fairly obvious?
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180309/0cae503a/attachment.html>
More information about the llvm-bugs
mailing list