r184807 - Remove PathV1.h from Driver.cpp.

Rafael Espindola rafael.espindola at gmail.com
Mon Jun 24 18:11:59 PDT 2013


Author: rafael
Date: Mon Jun 24 20:11:59 2013
New Revision: 184807

URL: http://llvm.org/viewvc/llvm-project?rev=184807&view=rev
Log:
Remove PathV1.h from Driver.cpp.

Modified:
    cfe/trunk/lib/Driver/Driver.cpp

Modified: cfe/trunk/lib/Driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=184807&r1=184806&r2=184807&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Mon Jun 24 20:11:59 2013
@@ -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(Ar
     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;
     }





More information about the cfe-commits mailing list