[cfe-commits] r65009 - /cfe/trunk/lib/Driver/InitHeaderSearch.cpp

Chris Lattner sabre at nondot.org
Wed Feb 18 20:48:57 PST 2009


Author: lattner
Date: Wed Feb 18 22:48:57 2009
New Revision: 65009

URL: http://llvm.org/viewvc/llvm-project?rev=65009&view=rev
Log:
PR3614: "ignoring nonexistent directory" should print the -isysroot 
mapped path, not the requested path.

Modified:
    cfe/trunk/lib/Driver/InitHeaderSearch.cpp

Modified: cfe/trunk/lib/Driver/InitHeaderSearch.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/InitHeaderSearch.cpp?rev=65009&r1=65008&r2=65009&view=diff

==============================================================================
--- cfe/trunk/lib/Driver/InitHeaderSearch.cpp (original)
+++ cfe/trunk/lib/Driver/InitHeaderSearch.cpp Wed Feb 18 22:48:57 2009
@@ -20,7 +20,6 @@
 #include "llvm/System/Path.h"
 #include "llvm/Config/config.h"
 #include <vector>
-
 using namespace clang;
 
 void InitHeaderSearch::AddPath(const std::string &Path, IncludeDirGroup Group,
@@ -75,7 +74,8 @@
   }
   
   if (Verbose)
-    fprintf(stderr, "ignoring nonexistent directory \"%s\"\n", Path.c_str());
+    fprintf(stderr, "ignoring nonexistent directory \"%s\"\n",
+            MappedPath.c_str());
 }
 
 





More information about the cfe-commits mailing list