[cfe-dev] how should I use clang to locate every method in my project?
klimek at google.com
Mon Nov 24 00:44:26 PST 2014
On Mon Nov 24 2014 at 9:42:39 AM yinping qin <qinyinping at gmail.com> wrote:
> I need to locate every method in my project,including C, C++, ObjC. That
> is I need to get each method's name start position and end position.
> I have tried to use libTooling to write a tool in clang, it went well with
> C/C++(I searched for FunctionDecl in the source code), but with ObjC code,
> it came out with a lot of errors(I searched for ObjCMethodDecl).
This is the right approach - but without knowing the errors we cannot
really help :)
> Now, I am wondering if there is a tool or plugin in clang that I can use
> to locate the functions.
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev