From: Reid Spencer Date: Sat, 18 Dec 2004 00:19:32 +0000 (+0000) Subject: The CopyFile function got moved into the sys namespace. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1bd2653c8f0a683d4a405ef5887e77cc662d78bc;p=oota-llvm.git The CopyFile function got moved into the sys namespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19026 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp index 8f4dd3f9a03..097085c10a9 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); } - if (CopyFile(OutputFilename, llvmstub)) { + if (sys::CopyFile(OutputFilename, llvmstub)) { std::cerr << "Could not copy the llvm-stub.exe executable!\n"; exit(1); } diff --git a/tools/llvm-ld/llvm-ld.cpp b/tools/llvm-ld/llvm-ld.cpp index de3ef43c40c..c0a03263657 100644 --- a/tools/llvm-ld/llvm-ld.cpp +++ b/tools/llvm-ld/llvm-ld.cpp @@ -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); }