c++ - How to map a function name back to the macro with clang frontend? -


i'm using clang front-end parse code , need macros. given trivial example:

#define createfile createfilea struct test {     virtual void createfile() = 0; }; 

i functiondecl astvisitor, functiondecl->getname() returns "createfilea". how can figure out "createfile"? assume clang::preprocessor class help.

thanks.


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Restarting Supervisor and effect on FlaskSocketIO -

php - Mongodb connectivity error -