[cfe-dev] How do i initialize headersearch ?

Nico Weber thakis at chromium.org
Mon Nov 22 16:33:25 PST 2010


On Fri, Sep 24, 2010 at 2:07 PM, Parijat Banerjee <parijat.pcr at gmail.com> wrote:
> This tutorial is outdated ( some of the functions were removed with branch
> 2.7 and later ...like InitHeaderSearch and InitPreprocessor ....it has been
> replaced by HeaderSearchOptions ) . I had gone through this tutorial
> initially to realize many of the function syntaxes and files were different
> . :)

I started updating it to llvm2.8 last week. The HeaderSearch part is
done: https://github.com/nico/clangtut/blob/master/tut03_pp.cpp

>
> I havent been able to find a proper guide on how to use HeaderSearchOptions
> with HeaderSearch yet :( . It would be great if someone can give me some
> headway into this .
>
> Thanks though Larisse !
>
> Regards
> Parijat
>
> On Fri, Sep 24, 2010 at 3:40 PM, Larisse Voufo <lvoufo at cs.indiana.edu>
> wrote:
>>
>> Have you seen this?
>> http://amnoid.de/tmp/clangtut/tut.html
>> I believe the "Tutorial 1" and "Tutorial 3" sections cover enough of
>> HeaderSearch to probably give you some good direction?
>> Hope this helps,
>> Cheers,
>> -- Larisse.
>>
>> On Fri, Sep 24, 2010 at 2:47 AM, Parijat Banerjee <parijat.pcr at gmail.com>
>> wrote:
>>>
>>> Can someone guide me as to how to initialize my HeaderSearch and
>>> HeaderSearchOptions so that my program is able to parse included files when
>>> needed ?
>>>
>>> Thanks and Regards,
>>> Parijat
>>> _______________________________________________
>>> cfe-dev mailing list
>>> cfe-dev at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>>
>>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>




More information about the cfe-dev mailing list