aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CompilerDriver/Action.cpp
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-12-17 21:21:31 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-12-17 21:21:31 +0000
commit559e09e39de1cebf132c4d1d3c10763560e0c2e8 (patch)
tree70191e6911e55dc40f781c338ce1263751a3fd50 /llvm/lib/CompilerDriver/Action.cpp
parentffa42ced39a9158c428ce3113e16e2467fcc78c8 (diff)
downloadllvm-559e09e39de1cebf132c4d1d3c10763560e0c2e8.zip
llvm-559e09e39de1cebf132c4d1d3c10763560e0c2e8.tar.gz
llvm-559e09e39de1cebf132c4d1d3c10763560e0c2e8.tar.bz2
Support/Path: Deprecate PathV1::isAbsolute.
llvm-svn: 122086
Diffstat (limited to 'llvm/lib/CompilerDriver/Action.cpp')
-rw-r--r--llvm/lib/CompilerDriver/Action.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CompilerDriver/Action.cpp b/llvm/lib/CompilerDriver/Action.cpp
index dcb0c57..a8d625c 100644
--- a/llvm/lib/CompilerDriver/Action.cpp
+++ b/llvm/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);