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
This commit is contained in:
Reid Spencer 2004-12-18 00:19:32 +00:00
parent 3874730dd4
commit 1bd2653c8f
2 changed files with 2 additions and 2 deletions

View 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);
}

View 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);
}