[llvm] r201975 - Use simpler form of llvm::sys::fs::remove.
Rafael Espindola
rafael.espindola at gmail.com
Sun Feb 23 05:37:37 PST 2014
Author: rafael
Date: Sun Feb 23 07:37:37 2014
New Revision: 201975
URL: http://llvm.org/viewvc/llvm-project?rev=201975&view=rev
Log:
Use simpler form of llvm::sys::fs::remove.
Modified:
llvm/trunk/lib/Support/Windows/Signals.inc
Modified: llvm/trunk/lib/Support/Windows/Signals.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/Signals.inc?rev=201975&r1=201974&r2=201975&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/Signals.inc (original)
+++ llvm/trunk/lib/Support/Windows/Signals.inc Sun Feb 23 07:37:37 2014
@@ -318,8 +318,7 @@ static void Cleanup() {
if (FilesToRemove != NULL)
while (!FilesToRemove->empty()) {
- bool Existed;
- llvm::sys::fs::remove(FilesToRemove->back(), Existed);
+ llvm::sys::fs::remove(FilesToRemove->back());
FilesToRemove->pop_back();
}
More information about the llvm-commits
mailing list