[PATCH] D70358: Add Cursor.get_reference_name_range to clang python binding.

Arthur Peters via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 16 13:18:52 PST 2019


arthurp created this revision.
arthurp added a reviewer: ilya-biryukov.
Herald added subscribers: cfe-commits, arphaman.
Herald added a project: clang.
arthurp added a comment.

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.


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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70358

Files:
  clang/bindings/python/clang/cindex.py
  clang/bindings/python/tests/cindex/test_cursor.py
  clang/bindings/python/tests/cindex/util.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70358.229702.patch
Type: text/x-patch
Size: 5730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191116/6b74e2e8/attachment.bin>


More information about the cfe-commits mailing list