[PATCH] D21113: Add support for case-insensitive header lookup

Joerg Sonnenberger via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 12 12:11:59 PDT 2016


On Fri, Jun 10, 2016 at 10:35:26AM -0700, Hans Wennborg wrote:
> On Thu, Jun 9, 2016 at 5:31 PM, Joerg Sonnenberger via cfe-commits
> <cfe-commits at lists.llvm.org> wrote:
> > On Wed, Jun 08, 2016 at 01:12:31AM +0000, Hans Wennborg via cfe-commits wrote:
> >> There has been a patch for this before (http://reviews.llvm.org/D2972),
> >> but this one is more general, as it works on the virtual filesystem
> >> layer, and also supports case-insensitive lookups of parent directories
> >> not just the filename.
> >
> > What happens if two files / directories end up with the same mangling?
> 
> You'd get one of them :-)

Yeah, but how stable is the choice? I think if we want to go with this kind of
option, it should also produce a warning on collisions.

Joerg


More information about the cfe-commits mailing list