[cfe-dev] Move InitializePreprocessor() to lib/Frontend from clang-cc

Alexei Svitkine alexei.svitkine at gmail.com
Mon Apr 20 16:51:15 PDT 2009


Hi,
This is a patch for http://llvm.org/bugs/attachment.cgi?bugid=3979.

It moves InitializePreprocessor() functionality to its own file under
lib/Frontend from clang-cc.cpp.

This allows users of the clang libraries to properly initialize all the
expected macros without copying and pasting 500 lines of code from
clang-cc.cpp.

Not included are changes to Makefiles and such to properly add the new
InitializePreprocessor.cpp file to the build system, since I do not know
what is needed there.

-Alexei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090420/e91308e6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InitPP.diff
Type: application/octet-stream
Size: 43454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090420/e91308e6/attachment.obj>


More information about the cfe-dev mailing list