Don't check the isysroot path for Path::isValid(); if the user has
specified a syntactically invalid path, it's better to let the OS diagnose the problem than to silently skip it. llvm-svn: 120542
This commit is contained in:
parent
901d4d07d8
commit
b16def2be9
|
@ -110,7 +110,6 @@ void InitHeaderSearch::AddPath(const llvm::Twine &Path,
|
|||
|
||||
// Handle isysroot.
|
||||
if (Group == System && !IgnoreSysRoot && MappedPath.isAbsolute() &&
|
||||
IncludeSysroot.isValid() &&
|
||||
IncludeSysroot != llvm::sys::Path::GetRootDirectory()) {
|
||||
MappedPathStorage.clear();
|
||||
MappedPathStr =
|
||||
|
|
Loading…
Reference in New Issue