summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/Driver/clang.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp
index 3234f8cf621..48bcbbdef8b 100644
--- a/clang/Driver/clang.cpp
+++ b/clang/Driver/clang.cpp
@@ -698,8 +698,6 @@ static void AddPath(const std::string &Path, IncludeDirGroup Group,
// handle things like C:\ right, nor win32 \\network\device\blah.
if (isysroot.size() != 1 || isysroot[0] != '/') // Add isysroot if present.
MappedPath.append(isysroot.begin(), isysroot.end());
- if (Path[0] != '/') // If in the system group, add a /.
- MappedPath.push_back('/');
}
MappedPath.append(Path.begin(), Path.end());
OpenPOWER on IntegriCloud