[cfe-dev] How can I repeatedly re-expand a macro?

Marcus Johnson via cfe-dev cfe-dev at lists.llvm.org
Sun Nov 28 02:34:15 PST 2021


I’m not understanding how the Preprocessor works in Clang; I’ve read the code, everything with Preprocessor, Lexer, or Macro in it’s class name, and I’m not getting it.

I have a MacroArgs which contains thename of the macro the expand, how do I actually expand this macro?


More information about the cfe-dev mailing list