[cfe-dev] Standalone tools
Manuel Klimek
klimek at google.com
Mon Apr 28 09:56:11 PDT 2014
On Mon, Apr 28, 2014 at 6:54 PM, Dmitri Gribenko <gribozavr at gmail.com>wrote:
> On Mon, Apr 28, 2014 at 5:52 PM, Manuel Klimek <klimek at google.com> wrote:
> > 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.
> >
> > Note that I have suggested this before (multiple times), and the powers
> that
> > are (well, Chandler & Doug) have shot down the idea.
>
> I am not judging whether it is good or not. It just became easier than
> ever.
>
Oh, it was always easy - the Tooling stuff always had access to the VFS
layer that has been there forever. Chandler objected on a principled basis
(how do we show error message that reference files that are not on disk,
among others)
>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140428/ef09a21e/attachment.html>
More information about the cfe-dev
mailing list