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

Gregory Szorc gregory.szorc at gmail.com
Sun May 13 20:46:32 PDT 2012


On 5/13/12 1:19 AM, Manuel Klimek wrote:
> +        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"?
I don't know!
> Second, how about: "Returns whether the Cursor refers to a static 
> member function template or method declaration."
Yeah, it is hard to read. I'll update the description.
> 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.
Perhaps someone who knows the C++ terminology could weigh in here.



More information about the cfe-commits mailing list