The CopyFile function got moved into the sys namespace.
authorReid Spencer <rspencer@reidspencer.com>
Sat, 18 Dec 2004 00:19:32 +0000 (00:19 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 18 Dec 2004 00:19:32 +0000 (00:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19026 91177308-0d34-0410-b5e6-96231b3b80d8

tools/gccld/gccld.cpp
tools/llvm-ld/llvm-ld.cpp

index 8f4dd3f9a033622926701c1a4ff55b531142a296..097085c10a9e8f5b0f7249ad5f09d5803002b1f2 100644 (file)
@@ -124,7 +124,7 @@ static void EmitShellScript(char **argv) {
     std::cerr << "Could not find llvm-stub.exe executable!\n";
     exit(1);
   }
-  if (CopyFile(OutputFilename, llvmstub)) {
+  if (sys::CopyFile(OutputFilename, llvmstub)) {
     std::cerr << "Could not copy the llvm-stub.exe executable!\n";
     exit(1);
   }
index de3ef43c40c6eea61bc344a750a3c0907b15f234..c0a0326365721757bdd18c3ee6df7d881a0aad62 100644 (file)
@@ -313,7 +313,7 @@ static void EmitShellScript(char **argv) {
     std::cerr << "Could not find llvm-stub.exe executable!\n";
     exit(1);
   }
-  if (CopyFile(OutputFilename, llvmstub)) {
+  if (sys::CopyFile(OutputFilename, llvmstub)) {
     std::cerr << "Could not copy the llvm-stub.exe executable!\n";
     exit(1);
   }