[cfe-dev] Separate preprocess and compile: hack or feature?

Boris Kolpackov via cfe-dev cfe-dev at lists.llvm.org
Thu May 11 23:39:44 PDT 2017


Hi Bob,

Bob Haarman <llvm at inglorion.net> writes:

> You may want to give your users the option to combine the preprocess
> and compile into a single step.

Yes, that's the current plan. The question is whether it should be on
or off by default. I think we will start with off and see what happens.


> So if you want to separate the preprocess step from the compile step,
> you have to make sure that everything that affects the preprocessor
> output matches between the preprocessor invocation and the compiler
> invocation.

Right, that's one of the main reasons we really don't want to go the
custom preprocessor route.

Boris



More information about the cfe-dev mailing list