[cfe-dev] ASTMatcher CXXOperatorCallExpr

Gábor Kozár kozargabor at gmail.com
Tue Aug 20 06:38:29 PDT 2013


Hi,

2013/8/19 Shereen <shereent7 at gmail.com>

> So the operator[] call is transformed to a binary function with the object
> as the first argument.
>

This seems to be the case according to the AST snippet you pasted, and my
cursory examination of the Clang AST documentation. I'm not absolutely sure
though - someone with a better understanding of the Clang AST could maybe
clear this up?

I'm glad it works!

Gabor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130820/29c6457b/attachment.html>


More information about the cfe-dev mailing list