aboutsummaryrefslogtreecommitdiffstats
path: root/tools
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
commitd8852512160395889124b1ec5c01565cada0a15b (patch)
tree3229633ec5f50e54b6b7f1ddf0e2f244b0ad3716 /tools
parent3de3b05538775aae2b21be0894e1ab0337068887 (diff)
downloadexternal_llvm-d8852512160395889124b1ec5c01565cada0a15b.zip
external_llvm-d8852512160395889124b1ec5c01565cada0a15b.tar.gz
external_llvm-d8852512160395889124b1ec5c01565cada0a15b.tar.bz2
behold my standards-compliant humps!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25033 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llc/llc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index 573e9ba..d009fd0 100644
--- a/tools/llc/llc.cpp
+++ b/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.