Suppose I want to write my own preprocessor.
So I want something like this:
all * .cpp and * .hpp (even included), before going to g ++, they go:
file --> my preprocessor -> g++
Is there an easy way to do this within LLVM? that is, add a step that says: "after downloading the source file, pass it through this program before compiling it"?
Thank!
source
share