[cfe-dev] Finding headers in PCH with HeaderSearch

Argyrios Kyrtzidis kyrtzidis at apple.com
Tue Feb 15 09:58:55 PST 2011


Cleaned it up, and commited in r125576.

On Feb 15, 2011, at 1:15 AM, Axel Naumann wrote:

> Hi Argyrios,
> 
> works like a charm (for our use case :-)! I have adapted your patch to
> the current trunk and added a test.
> 
> Can you commit it?
> 
> Cheers, Axel.
> 
> Argyrios Kyrtzidis wrote on 02/08/2011 12:54 AM:
>> Hi Axel, sorry for the delay.
>> 
>> Unless I'm misunderstanding something you basically would like to be able to move headers+PCH file around but the header files will always be relative to the PCH the same way, right ?
>> Couldn't we just store in PCH the directory in which the PCH file was originally created and use that to try to resolve the header files relative to that ?
>> 
>> I attached a quick hack that does that for illustration, let me know if it is suitable for your use cases.
>> 
>> -Argiris
>> 





More information about the cfe-dev mailing list