[cfe-dev] Methods and AST incongruences

John McCall rjmccall at apple.com
Sat Nov 5 17:16:35 PDT 2011


On Nov 5, 2011, at 3:03 PM, Abramo Bagnara wrote:
> Tracking some related failures in our application I've found some
> incongruences in clang AST that likely are bugs.
> 
> In the typescript below I see at least two problems:
> 
> a) in line marked // 1 the usual ImplicitCastExpr of kind
> UserDefinedConversion used to mark implicit call to conversion operator
> is missing

Yeah, I'd call this a bug.

> b) in line marked // 3 the method referred by MemberExpr is a builtin
> with BoundMember kind while in line marked //1 and //2 has function type.

Same here;  consistency is good.

John.



More information about the cfe-dev mailing list