[cfe-dev] FInding a macro definition in a clang-tidy plugin

Per Danielsson via cfe-dev cfe-dev at lists.llvm.org
Tue May 8 16:58:46 PDT 2018


Hi there,

In a clang-tidy plugin it’s quite straightforward to detect if a matched expression comes from a macro expansion, but how do I find the macro definition?

Regards,
Per Danielsson
RISE SICS AB, Kista, Sweden
per.danielsson at ri.se


More information about the cfe-dev mailing list