WAKEY WAKEY
authorDuraid Madina <duraid@octopus.com.au>
Wed, 28 Dec 2005 05:48:55 +0000 (05:48 +0000)
committerDuraid Madina <duraid@octopus.com.au>
Wed, 28 Dec 2005 05:48:55 +0000 (05:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25032 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llc/llc.cpp

index 0b631e41d53f00ec891bd24373ddbbcf2f8bb53f..573e9ba2b75561177b3d0a411b96f948512fdbcb 100644 (file)
@@ -243,7 +243,7 @@ int main(int argc, char **argv) {
                 << "' does not support generation of this file type!\n";
       if (Out != &std::cout) delete Out;
       // And the Out file is empty and useless, so remove it now.
-      std::remove(OutputFilename.c_str());
+      remove(OutputFilename.c_str());
       return 1;
     } else {
       // Run our queue of passes all at once now, efficiently.