[PATCH] D10834: Added functions to retrieve information about whether a vardecl is local in libclang and its python bindings.

guibufolo+llvm@gmail.com via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 3 21:02:00 PST 2015


RedX2501 retitled this revision from "Added functions to retrieve information about variable storage in libclang and its python bindings." to "Added functions to retrieve information about whether a vardecl is local in libclang and its python bindings.".
RedX2501 updated this revision to Diff 39163.
RedX2501 added a comment.

No longer export to functions but only one.
The original functionality can be achieved by using StorageClass coupled with the information if the variable is local.

Added python and libclang tests.


http://reviews.llvm.org/D10834

Files:
  bindings/python/clang/cindex.py
  bindings/python/tests/cindex/test_cursor.py
  include/clang-c/Index.h
  test/Index/islocalvardecl.cpp
  tools/c-index-test/c-index-test.c
  tools/libclang/CIndex.cpp
  tools/libclang/libclang.exports

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10834.39163.patch
Type: text/x-patch
Size: 6621 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151104/36b7b14d/attachment-0001.bin>


More information about the cfe-commits mailing list