The CopyFile function got moved into the sys namespace.
llvm-svn: 19026
This commit is contained in:
parent
b3d3f1b579
commit
16ce83c3a6
|
@ -124,7 +124,7 @@ static void EmitShellScript(char **argv) {
|
||||||
std::cerr << "Could not find llvm-stub.exe executable!\n";
|
std::cerr << "Could not find llvm-stub.exe executable!\n";
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
if (CopyFile(OutputFilename, llvmstub)) {
|
if (sys::CopyFile(OutputFilename, llvmstub)) {
|
||||||
std::cerr << "Could not copy the llvm-stub.exe executable!\n";
|
std::cerr << "Could not copy the llvm-stub.exe executable!\n";
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -313,7 +313,7 @@ static void EmitShellScript(char **argv) {
|
||||||
std::cerr << "Could not find llvm-stub.exe executable!\n";
|
std::cerr << "Could not find llvm-stub.exe executable!\n";
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
if (CopyFile(OutputFilename, llvmstub)) {
|
if (sys::CopyFile(OutputFilename, llvmstub)) {
|
||||||
std::cerr << "Could not copy the llvm-stub.exe executable!\n";
|
std::cerr << "Could not copy the llvm-stub.exe executable!\n";
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue