[llvm-commits] CVS: llvm/tools/llc/llc.cpp

Duraid Madina duraid at octopus.com.au
Tue Dec 27 21:56:49 PST 2005



Changes in directory llvm/tools/llc:

llc.cpp updated: 1.120 -> 1.121
---
Log message:

behold my standards-compliant humps!



---
Diffs of the changes:  (+2 -1)

 llc.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/tools/llc/llc.cpp
diff -u llvm/tools/llc/llc.cpp:1.120 llvm/tools/llc/llc.cpp:1.121
--- llvm/tools/llc/llc.cpp:1.120	Tue Dec 27 23:48:55 2005
+++ llvm/tools/llc/llc.cpp	Tue Dec 27 23:56:36 2005
@@ -30,6 +30,7 @@
 #include <fstream>
 #include <iostream>
 #include <memory>
+#include <cstdio>
 
 using namespace llvm;
 
@@ -243,7 +244,7 @@
                 << "' 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.






More information about the llvm-commits mailing list