[cfe-dev] Standalone tools

Kim Gräsman kim.grasman at gmail.com
Sun Apr 27 23:18:47 PDT 2014


Sorry, I lost the list in my reply, adding it back here.

On Mon, Apr 28, 2014 at 8:08 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> On Mon, Apr 28, 2014 at 6:41 AM, Kim Gräsman <kim.grasman at gmail.com> wrote:
>> Hi Dmitri,
>>
>> On Sun, Apr 27, 2014 at 4:31 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
>>> On Sun, Apr 27, 2014 at 3:09 PM, Jacob Carlborg <doob at me.com> wrote:
>>>> It would be nice if the header files could be embedded in the tool (the
>>>> executable).
>>>
>>> Now that Clang has a VFS, this should not be hard to implement.
>>
>> That occurred to me too when I saw Jacob's comment.
>>
>> I'm not intimately familiar with the VFS implementation (I've only
>> seen the patches whizzing by on cfe-commits); do you think it would be
>> "not hard" to mix different VFS implementations in header search? I
>> guess every include path entry would need to be served by a different
>> VFS.
>
> I think existing implementation should be almost good enough -- just
> add a feature to read file contents from a YAML key, and stuff the
> contents of the headers into the YAML file.

Thanks, I'll see if I can get my head around it!

- Kim




More information about the cfe-dev mailing list