[cfe-commits] [PATCH] Implement Cursor.enum_type

Tobias Grosser tobias at grosser.es
Sun Feb 5 03:52:52 PST 2012


On 02/05/2012 06:19 AM, Gregory Szorc wrote:
>   bindings/python/clang/cindex.py             |   18 ++++++++++++++++++
>   bindings/python/tests/cindex/test_cursor.py |   15 +++++++++++++++
>   2 files changed, 33 insertions(+), 0 deletions(-)

Looks good except:

>       @property
> +    def enum_type(self):
> +        """Return the integer type of an enum declaration.
> +
> +        Returns a Type corresponding to an integer. If the cursor is not for an
                   >> type <<

Trivial fix applied and committed in 149830.

Tobi



More information about the cfe-commits mailing list