summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDuraid Madina <duraid@octopus.com.au>2005-12-28 05:56:36 +0000
committerDuraid Madina <duraid@octopus.com.au>2005-12-28 05:56:36 +0000
commitf703b207cfc58d4bc46ad00926864305a01b9f3a (patch)
treeacf8d02782d9ca3db17373b5e03981b65105f0a4 /llvm
parentbcc57c0c1682317fc2f6b73f41419e649d2e07ea (diff)
downloadbcm5719-llvm-f703b207cfc58d4bc46ad00926864305a01b9f3a.tar.gz
bcm5719-llvm-f703b207cfc58d4bc46ad00926864305a01b9f3a.zip
behold my standards-compliant humps!
llvm-svn: 25033
Diffstat (limited to 'llvm')
-rw-r--r--llvm/tools/llc/llc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llc/llc.cpp b/llvm/tools/llc/llc.cpp
index 573e9ba2b75..d009fd07358 100644
--- a/llvm/tools/llc/llc.cpp
+++ b/llvm/tools/llc/llc.cpp
@@ -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.
OpenPOWER on IntegriCloud