Re: r250036 - [VFS] Don't try to be heroic with '.' in paths.

2015-10-12 Thread Manuel Klimek via cfe-commits
I believe we need a more principled approach here :) 1. The first thing we need is to actually produce nice errors when we hit an addFile() with the same path (normalized or non-normalized) I'd propose the following approach: we compare the buffers; if the buffer contents are equal, we declare suc

r250036 - [VFS] Don't try to be heroic with '.' in paths.

2015-10-12 Thread Benjamin Kramer via cfe-commits
Author: d0k Date: Mon Oct 12 08:30:38 2015 New Revision: 250036 URL: http://llvm.org/viewvc/llvm-project?rev=250036&view=rev Log: [VFS] Don't try to be heroic with '.' in paths. Actually the only special path we have to handle is ./foo, the rest is tricky to get right so do the same thing as the