[cfe-dev] Using Clang to Expand Macros
annulen at yandex.ru
Thu Nov 22 08:15:28 PST 2012
22.11.2012, 19:58, "Peter Conn" <conn.peter at gmail.com>:
> Ah, I'm sorry, I was thinking a bit too in-depth to give all the details I should have - I had meant from in C++ (so using http://clang.llvm.org/doxygen/group__CINDEX.html )
For C++, I think you should look into clang::Preprocessor  and related classes.
More information about the cfe-dev