This is an archive of the discontinued LLVM Phabricator instance.

Add Cursor.get_reference_name_range to clang python binding.
Needs ReviewPublic

Authored by arthurp on Nov 16 2019, 1:12 PM.
This revision needs review, but all reviewers have resigned.

Details

Reviewers
ilya-biryukov
Summary

Add a python method to Cursor to access clang_getCursorReferenceNameRange
which was already included in the C function list of the python binding.
Also add required constants and a test.

This revision only changes the python binding and does not touch the
underlying C code at all.

Event Timeline

arthurp created this revision.Nov 16 2019, 1:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 16 2019, 1:12 PM

This is my first new revision here, and I guessed on the review based solely on resent reviews of related code. Please correct me as needed. Thanks.

Hi Arthur,

Sorry for the late response.
I'm not the maintainer of the Python bindings and I'm not sure who is.

Maybe ask on Discord or cfe-dev mailing list?

ilya-biryukov resigned from this revision.Nov 26 2019, 1:29 AM