forked from OSchip/llvm-project
Remove an unintended restriction on sysroots introduced during the Path
conversion. llvm-svn: 119346
This commit is contained in:
parent
b19289331d
commit
40c98640e1
|
@ -111,7 +111,7 @@ void InitHeaderSearch::AddPath(const llvm::Twine &Path,
|
||||||
|
|
||||||
// Handle isysroot.
|
// Handle isysroot.
|
||||||
if (Group == System && !IgnoreSysRoot && MappedPath.isAbsolute() &&
|
if (Group == System && !IgnoreSysRoot && MappedPath.isAbsolute() &&
|
||||||
IncludeSysroot.isValid() && IncludeSysroot.isAbsolute() &&
|
IncludeSysroot.isValid() &&
|
||||||
IncludeSysroot != llvm::sys::Path::GetRootDirectory()) {
|
IncludeSysroot != llvm::sys::Path::GetRootDirectory()) {
|
||||||
MappedPathStorage.clear();
|
MappedPathStorage.clear();
|
||||||
MappedPathStr =
|
MappedPathStr =
|
||||||
|
|
Loading…
Reference in New Issue