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

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -