[cfe-dev] Clang beginner - how to parse multiple files?

Yaakov Davis yaakov.davis at gmail.com
Thu Apr 5 13:18:28 PDT 2012


Yup, that's a major limitation..

BTW, can someone share details on the infrastructure changes Douglas
mentioned? Is there a dedicated SVN branch or some doc describing them?

On Thu, Apr 5, 2012 at 10:56 PM, Joshua Warner <allpowerful32 at gmail.com>wrote:

> 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/92660685/attachment.html>


More information about the cfe-dev mailing list