]> granicus.if.org Git - clang/commit
Clean up some names and fix the handling of default sysroots on Windows and
authorChandler Carruth <chandlerc@gmail.com>
Mon, 15 Nov 2010 07:15:26 +0000 (07:15 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 15 Nov 2010 07:15:26 +0000 (07:15 +0000)
commitc09265a5fd94af5dcfd7325d0cb4f04197d65afc
tree220e50ad52e53e31edbde3b3eda510f3f05374aa
parentf3721457cd9f364f262e7a2d61edcdad05996e61
Clean up some names and fix the handling of default sysroots on Windows and
other platforms where the textual default of '/' isn't the system's root
directory. We should probably still make the textual default platform specific,
but this should avoid the particularly bad problem with the previous state: we
applied a sysroot of '/' to '/usr/local/google' which added
'//usr/local/include' to the windows header search path, a share on another
machine named 'usr'. Oops.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119131 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/InitHeaderSearch.cpp