[llvm-commits] [llvm] r136459 - /llvm/trunk/lib/Support/Unix/Path.inc

Chris Lattner clattner at apple.com
Fri Jul 29 11:57:15 PDT 2011


On Jul 29, 2011, at 11:30 AM, Nick Lewycky wrote:

> > The only other effect of this change is that the static analysis will now
> > respect $PWD when reporting the directory of the files in its HTML output. I
> > think that's fine.
> 
> Uhm, this *really* doesn't seem like the right thing to do.  This should go into a client of this API that cares, not being in such a low level API.
> 
> Reverted in r136477. I honestly don't see how it's any more or less correct than using getcwd, since $PWD is the current directory per definition.

If it's the current directory by definition, why doesn't getcwd return it?

-Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110729/38c6bca2/attachment.html>


More information about the llvm-commits mailing list