[cfe-dev] Parsing objective-c message expressions

Rajesh Karmani rkumar8 at cs.uiuc.edu
Tue Jul 29 08:11:55 PDT 2008


Hi,
I have just started looking at Clang and found it to be a great tool.
I also came across the RewriteObjc module and wanted to play around with 
how the Objective-C messages are "rewritten".

I have not been able to figure out how an assignment statement like:

c = [obj execute];

is parsed in Clang (what functions are called?). I would like to rewrite 
such statements differently from

[obj execute];

where nothing is being returned. Could someone please guide me which 
parts of code should I be looking at?


regards,
rajesh




More information about the cfe-dev mailing list