aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-21 03:24:02 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-21 03:24:02 +0000
commit682084a15791fd48f64c08d3f74fa7faac9ecd19 (patch)
treec72158eb71ad6b72ef09542ed6ffeeb1b3dc88ee /tools
parentc24e94e6b5c27583cde3cd6ea5296a9c3dba345e (diff)
downloadexternal_llvm-682084a15791fd48f64c08d3f74fa7faac9ecd19.zip
external_llvm-682084a15791fd48f64c08d3f74fa7faac9ecd19.tar.gz
external_llvm-682084a15791fd48f64c08d3f74fa7faac9ecd19.tar.bz2
Use explicit construction of sys::Path from std::string because the
constructor is "explicit". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19078 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/gccld/gccld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp
index 91f206b..d33d64a 100644
--- a/tools/gccld/gccld.cpp
+++ b/tools/gccld/gccld.cpp
@@ -124,7 +124,7 @@ static void EmitShellScript(char **argv) {
std::cerr << "Could not find llvm-stub.exe executable!\n";
exit(1);
}
- sys::CopyFile(OutputFilename, llvmstub);
+ sys::CopyFile(sys::Path(OutputFilename), sys::Path(llvmstub));
return;
#endif