forked from OSchip/llvm-project
PR3614: "ignoring nonexistent directory" should print the -isysroot
mapped path, not the requested path. llvm-svn: 65009
This commit is contained in:
parent
ec5a332e46
commit
45d26bd00d
|
@ -20,7 +20,6 @@
|
||||||
#include "llvm/System/Path.h"
|
#include "llvm/System/Path.h"
|
||||||
#include "llvm/Config/config.h"
|
#include "llvm/Config/config.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
using namespace clang;
|
using namespace clang;
|
||||||
|
|
||||||
void InitHeaderSearch::AddPath(const std::string &Path, IncludeDirGroup Group,
|
void InitHeaderSearch::AddPath(const std::string &Path, IncludeDirGroup Group,
|
||||||
|
@ -75,7 +74,8 @@ void InitHeaderSearch::AddPath(const std::string &Path, IncludeDirGroup Group,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Verbose)
|
if (Verbose)
|
||||||
fprintf(stderr, "ignoring nonexistent directory \"%s\"\n", Path.c_str());
|
fprintf(stderr, "ignoring nonexistent directory \"%s\"\n",
|
||||||
|
MappedPath.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue