[cfe-commits] Request for approval: Pythonstuff including Cursor.enum_value

Anders Waldenborg anders at 0x63.nu
Wed May 2 01:49:03 PDT 2012


5 patches attached, 4 first is mostly trivial stuff.


* [python] Add testcase for annotation cursor kind

 Old testcase I had laying around.

* [python] Fix warning in testcase

 Trivial fix for a warning in the c-code in testcase

* [python] Run tests for c++ with std=c++11

 Makes c++ python testcases compile with -std=c++11,
 which is needed by...

* [python] Add testcase for enum with specified underlaying type

 Adds a more interesting enum_type testcase which
 has a different type.

* [python] Add Cursor.enum_value wrapping clang_getEnumConstantDeclValue

 This is the main patch. It adds a new "enum_value" property to the
 Cursor type, allowing to get the value of enum constants
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-python-Add-testcase-for-annotation-cursor-kind.patch
Type: text/x-diff
Size: 1592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120502/c3170798/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-python-Fix-warning-in-testcase.patch
Type: text/x-diff
Size: 877 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120502/c3170798/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-python-Run-tests-for-c-with-std-c-11.patch
Type: text/x-diff
Size: 1151 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120502/c3170798/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-python-Add-testcase-for-enum-with-specified-underlay.patch
Type: text/x-diff
Size: 1068 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120502/c3170798/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-python-Add-Cursor.enum_value-wrapping-clang_getEnumC.patch
Type: text/x-diff
Size: 3888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120502/c3170798/attachment-0004.patch>


More information about the cfe-commits mailing list