behold my standards-compliant humps!
authorDuraid Madina <duraid@octopus.com.au>
Wed, 28 Dec 2005 05:56:36 +0000 (05:56 +0000)
committerDuraid Madina <duraid@octopus.com.au>
Wed, 28 Dec 2005 05:56:36 +0000 (05:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25033 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llc/llc.cpp

index 573e9ba2b75561177b3d0a411b96f948512fdbcb..d009fd0735830b419beaa0c9ab143e37233611c5 100644 (file)
@@ -30,6 +30,7 @@
 #include <fstream>
 #include <iostream>
 #include <memory>
+#include <cstdio>
 
 using namespace llvm;
 
@@ -243,7 +244,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.
-      remove(OutputFilename.c_str());
+      std::remove(OutputFilename.c_str());
       return 1;
     } else {
       // Run our queue of passes all at once now, efficiently.