[cfe-dev] Clang beginner - how to parse multiple files?
Joshua Warner
allpowerful32 at gmail.com
Thu Apr 5 12:56:46 PDT 2012
Hi,
OK, thanks for the detailed info, I'll look into the linking process.
>
I think that if you just want to hack something together quickly, you could
look into doing something like generating a cpp file in memory that
#includes all of the cpp files you care about.
Depending on how your cpp files are written, this might let you sail by.
The (admittedly major) catch is that the cpp files can't depend on
anonymous namespaces, static functions, etc. to compile correctly.
Just my 2 cents.
-Joshua
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120405/07e06de9/attachment.html>
More information about the cfe-dev
mailing list