[cfe-commits] [PATCH 4/4] [clang.py] Implement Cursor.is_static_method

Manuel Klimek klimek at google.com
Sun May 13 01:19:55 PDT 2012


+        Returns True if it is or False if not or if the Cursor does not
refer
+        to a function template declaration or method declaration.

This took me a while to parse... So two things: first, shouldn't that be
"member function template"?
Second, how about: "Returns whether the Cursor refers to a static member
function template or method declaration."

I'm also not quite sure whether all this is necessary, and "method" is not
good enough to describe the intent here, but my C++-foo is probably not
good enough for that argument.

Cheers,
/Manuel

On Sun, May 13, 2012 at 7:20 AM, Gregory Szorc <gregory.szorc at gmail.com>wrote:

> ---
>  bindings/python/clang/cindex.py             |   12 ++++++++++++
>  bindings/python/tests/cindex/test_cursor.py |   16 ++++++++++++++++
>  2 files changed, 28 insertions(+)
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120513/440fe3f6/attachment.html>


More information about the cfe-commits mailing list