diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-25 01:11:59 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-25 01:11:59 +0000 |
commit | e3d0c4a9bd90c4626241939e6eda67f8d23d79c2 (patch) | |
tree | 256351c33536bdd3cf07c40cc18e28b32262d811 /clang/lib/Driver/Driver.cpp | |
parent | 9c43963c62c8e3240bdcc5678a1173fc67ddf7e8 (diff) | |
download | bcm5719-llvm-e3d0c4a9bd90c4626241939e6eda67f8d23d79c2.tar.gz bcm5719-llvm-e3d0c4a9bd90c4626241939e6eda67f8d23d79c2.zip |
Remove PathV1.h from Driver.cpp.
llvm-svn: 184807
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
-rw-r--r-- | clang/lib/Driver/Driver.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp index d524dc38553..135af0404b1 100644 --- a/clang/lib/Driver/Driver.cpp +++ b/clang/lib/Driver/Driver.cpp @@ -30,7 +30,6 @@ #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/Path.h" -#include "llvm/Support/PathV1.h" #include "llvm/Support/PrettyStackTrace.h" #include "llvm/Support/Program.h" #include "llvm/Support/raw_ostream.h" @@ -244,7 +243,7 @@ Compilation *Driver::BuildCompilation(ArrayRef<const char *> ArgList) { StringRef CompilerPath = env; while (!CompilerPath.empty()) { std::pair<StringRef, StringRef> Split - = CompilerPath.split(llvm::sys::PathSeparator); + = CompilerPath.split(llvm::sys::EnvPathSeparator); PrefixDirs.push_back(Split.first); CompilerPath = Split.second; } |