Remove an unintended restriction on sysroots introduced during the Path

conversion.

llvm-svn: 119346
This commit is contained in:
Chandler Carruth 2010-11-16 11:30:11 +00:00
parent b19289331d
commit 40c98640e1
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ void InitHeaderSearch::AddPath(const llvm::Twine &Path,
// Handle isysroot.
if (Group == System && !IgnoreSysRoot && MappedPath.isAbsolute() &&
IncludeSysroot.isValid() && IncludeSysroot.isAbsolute() &&
IncludeSysroot.isValid() &&
IncludeSysroot != llvm::sys::Path::GetRootDirectory()) {
MappedPathStorage.clear();
MappedPathStr =