diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-19 04:48:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-19 04:48:57 +0000 |
commit | 50b587d02f84ccf447d835fe8fcb79aad3a3e126 (patch) | |
tree | 7cdb8978f117fd67c32f793fe636d6ee7cd906fe /lib/Driver/InitHeaderSearch.cpp | |
parent | b4650c178e4ece69431706ff88eb2d3daf44a661 (diff) |
PR3614: "ignoring nonexistent directory" should print the -isysroot
mapped path, not the requested path.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65009 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/InitHeaderSearch.cpp')
-rw-r--r-- | lib/Driver/InitHeaderSearch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Driver/InitHeaderSearch.cpp b/lib/Driver/InitHeaderSearch.cpp index 860d60d1b6..4b5275d726 100644 --- a/lib/Driver/InitHeaderSearch.cpp +++ b/lib/Driver/InitHeaderSearch.cpp @@ -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 @@ void InitHeaderSearch::AddPath(const std::string &Path, IncludeDirGroup Group, } if (Verbose) - fprintf(stderr, "ignoring nonexistent directory \"%s\"\n", Path.c_str()); + fprintf(stderr, "ignoring nonexistent directory \"%s\"\n", + MappedPath.c_str()); } |