On Aug 21, 2010, at 1:51 PM, Francois Pichet wrote:

> This is a small patch to fix PR 7953.
> (http://llvm.org/bugs/show_bug.cgi?id=7953)
> 
> #pragma once wasn't working on win32 if the header file was included
> using a different case.
> I tracked down  the problem to the fact that clang::FileManager was
> caching files using case sensitive string (UniqueFiles) on Windows.
> 
> I changed FileManager to cache filename in lower case only.
> Doesn't affect UNIX because UNIX uses Inode to uniquely identify files.

Looks great to me, applied in r111866.  Thanks!

-Chris
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to