[cfe-commits] r119346 - /cfe/trunk/lib/Frontend/InitHeaderSearch.cpp
Chandler Carruth
chandlerc at gmail.com
Tue Nov 16 03:30:11 PST 2010
Author: chandlerc
Date: Tue Nov 16 05:30:11 2010
New Revision: 119346
URL: http://llvm.org/viewvc/llvm-project?rev=119346&view=rev
Log:
Remove an unintended restriction on sysroots introduced during the Path
conversion.
Modified:
cfe/trunk/lib/Frontend/InitHeaderSearch.cpp
Modified: cfe/trunk/lib/Frontend/InitHeaderSearch.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/InitHeaderSearch.cpp?rev=119346&r1=119345&r2=119346&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/InitHeaderSearch.cpp (original)
+++ cfe/trunk/lib/Frontend/InitHeaderSearch.cpp Tue Nov 16 05:30:11 2010
@@ -111,7 +111,7 @@
// Handle isysroot.
if (Group == System && !IgnoreSysRoot && MappedPath.isAbsolute() &&
- IncludeSysroot.isValid() && IncludeSysroot.isAbsolute() &&
+ IncludeSysroot.isValid() &&
IncludeSysroot != llvm::sys::Path::GetRootDirectory()) {
MappedPathStorage.clear();
MappedPathStr =
More information about the cfe-commits
mailing list