From 60e4e2b7d125b735bd1f8b5b065dde5663641c43 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 17 Dec 2007 06:51:34 +0000 Subject: [PATCH] add a portability fixme. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45091 91177308-0d34-0410-b5e6-96231b3b80d8 --- Driver/clang.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Driver/clang.cpp b/Driver/clang.cpp index 5e102b9edf..28659dd84a 100644 --- a/Driver/clang.cpp +++ b/Driver/clang.cpp @@ -622,6 +622,8 @@ static void AddPath(const std::string &Path, IncludeDirGroup Group, // Handle isysroot. if (Group == System) { + // FIXME: Portability. This should be a sys::Path interface, this doesn't + // 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 /. -- 2.40.0