<div dir="ltr">Does cl.exe to this if you're on a case-sensitive file system? Why are you using a case-sensitive file system if you want case-insensitive behavior?</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Mar 5, 2014 at 12:47 PM, Saleem Abdulrasool <span dir="ltr"><<a href="mailto:abdulras@fb.com" target="_blank">abdulras@fb.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi majnemer,<br>
<br>
When the compiler is placed into MSVC compatibility, add a fallback mechanism<br>
for supporting case insensitive header search.  This is important when dealing<br>
with case sensitive filesystems and building for Windows.  In particular, the<br>
Windows SDK in many places mixes up cases for filenames as well as directories.<br>
<br>
In general, this codepath does not affect the compilation as it is a simple<br>
boolean check.  If MSVC compatibility is enabled, perform an additional stat.<br>
If the path is inaccessible, do a case insensitive match over the contents of<br>
the directory.<br>
<br>
If the underlying filesystem is case-insensitive, then the stat will succeed and<br>
the search will not be required.<br>
<br>
<br>
<a href="http://llvm-reviews.chandlerc.com/D2972" target="_blank">http://llvm-reviews.chandlerc.com/D2972</a><br>
<br>
Files:<br>
  include/clang/Lex/DirectoryLookup.h<br>
  include/clang/Lex/HeaderSearch.h<br>
  lib/Frontend/InitHeaderSearch.cpp<br>
  lib/Lex/HeaderSearch.cpp<br>
  lib/Lex/PPDirectives.cpp<br>
  unittests/Lex/PPCallbacksTest.cpp<br>
<br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>