summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/tools/llc/llc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llc/llc.cpp b/llvm/tools/llc/llc.cpp
index 0b631e41d53..573e9ba2b75 100644
--- a/llvm/tools/llc/llc.cpp
+++ b/llvm/tools/llc/llc.cpp
@@ -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.
OpenPOWER on IntegriCloud