projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support/Path: Deprecate PathV1::isAbsolute.
[oota-llvm.git]
/
lib
/
CompilerDriver
/
Action.cpp
diff --git
a/lib/CompilerDriver/Action.cpp
b/lib/CompilerDriver/Action.cpp
index dcb0c57649f973a6ed6a547081cdb9570644d469..a8d625c7ac04ce431bf560c24d57e6da99e86089 100644
(file)
--- a/
lib/CompilerDriver/Action.cpp
+++ b/
lib/CompilerDriver/Action.cpp
@@
-56,7
+56,7
@@
namespace {
int ExecuteProgram (const std::string& name, const StrVector& args) {
sys::Path prog(name);
- if (
!prog.isAbsolute(
)) {
+ if (
sys::path::is_relative(prog.str()
)) {
prog = PrependMainExecutablePath(name, ProgramName,
(void *)(intptr_t)&Main);