mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Use the simpler version of sys::fs::remove when possible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198958 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -87,8 +87,7 @@ ExecGraphViewer(StringRef ExecPath, std::vector<const char*> &args,
|
||||
errs() << "Error: " << ErrMsg << "\n";
|
||||
return false;
|
||||
}
|
||||
bool Existed;
|
||||
sys::fs::remove(Filename, Existed);
|
||||
sys::fs::remove(Filename);
|
||||
errs() << " done. \n";
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user