<div dir="ltr">Hi,<div><br></div><div>Recently I have started writing a preprocessor that wraps the C preprocessor for optimizing calls to sprintf, since it is the one of the bottlenecks of my application.</div><div><a href="https://github.com/kazuho/qrintf">https://github.com/kazuho/qrintf</a></div><div><br clear="all"><div>For GCC, it was easy for me to override the default C preprocessor, by using its `-no-integrated-cpp` and `-wrapper` options (how I have done it can be found in the `qrinf-gcc` and `qrintf-gcc-wrapper` files included in the above repository).</div><div><br></div><div>However I have so far been unable to find a similar command-line option for Clang.  Is there any way to post-process the output of the preprocessor in Clang?  Or do I need to modify the source code of Clang itself?</div><div><br></div><div>Thank you in advance.</div><div><br></div><div>PS. BTW it would be great if compile-time optimization of sprintf goes into Clang.  Is there any chance of such possibility?</div><div><br></div>-- <br>Kazuho Oku
</div></div>