[cfe-commits] r45091 - /cfe/trunk/Driver/clang.cpp

Chris Lattner sabre at nondot.org
Sun Dec 16 22:51:34 PST 2007


Author: lattner
Date: Mon Dec 17 00:51:34 2007
New Revision: 45091

URL: http://llvm.org/viewvc/llvm-project?rev=45091&view=rev
Log:
add a portability fixme.

Modified:
    cfe/trunk/Driver/clang.cpp

Modified: cfe/trunk/Driver/clang.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/clang.cpp?rev=45091&r1=45090&r2=45091&view=diff

==============================================================================
--- cfe/trunk/Driver/clang.cpp (original)
+++ cfe/trunk/Driver/clang.cpp Mon Dec 17 00:51:34 2007
@@ -622,6 +622,8 @@
   
   // 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 /.





More information about the cfe-commits mailing list