[cfe-dev] Separate preprocess and compile: hack or feature?
Boris Kolpackov via cfe-dev
cfe-dev at lists.llvm.org
Thu May 11 09:59:14 PDT 2017
Hi Joerg,
Joerg Sonnenberger writes:
> There is the option of using the rewrite mode (-E -frewrite-includes),
> which is somewhat of a compromise.
Thanks, looks like similar to GCC's -fdirectives-only except that one
also handles #ifdef, etc.
Do you know if there a way to achieve something similar in Clang? That
is, remove fragments that will be preprocessed out.
Thanks,
Boris
More information about the cfe-dev
mailing list