<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="margin: 0px;"><div id="bloop_customfont" style="margin: 0px;">Hi,</div><div id="bloop_customfont" style="margin: 0px;"> </div><div id="bloop_customfont" style="margin: 0px;">I know how to write a function pass in LLVM to iterate over function decls. I'd like to do something similiar using Clang for C/C++/ObjC macros (#define foo).</div><div id="bloop_customfont" style="margin: 0px;"> </div><div id="bloop_customfont" style="margin: 0px;">I haven't been able to find anything in the docs which describes how to hook into Clang's preprocessing phase. Did I just miss it? Are there any samples which demonstrate this?</div><div id="bloop_customfont" style="margin: 0px;"> </div><div id="bloop_customfont" style="margin: 0px;">Thank you in advance!</div></div></body></html>