summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ar/llvm-ar.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2017-04-05 15:05:05 +0000
committerDavide Italiano <davide@freebsd.org>2017-04-05 15:05:05 +0000
commitde87d145cca526f365ea46ae76d4a7fbf59ef072 (patch)
treebd2a6aa1d1e6b5dfea544e9bb461674c0c17b02b /llvm/tools/llvm-ar/llvm-ar.cpp
parent79ebe31c65cb8ad61091ae0e895717555e2746c6 (diff)
downloadbcm5719-llvm-de87d145cca526f365ea46ae76d4a7fbf59ef072.tar.gz
bcm5719-llvm-de87d145cca526f365ea46ae76d4a7fbf59ef072.zip
[llvm-ar] Remove unneeded std::, NFCI.
This makes it more consistent with other exit() calls in llvm-ar (and the tools in general). llvm-svn: 299549
Diffstat (limited to 'llvm/tools/llvm-ar/llvm-ar.cpp')
-rw-r--r--llvm/tools/llvm-ar/llvm-ar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp
index 23e86f01bfd..1519464521d 100644
--- a/llvm/tools/llvm-ar/llvm-ar.cpp
+++ b/llvm/tools/llvm-ar/llvm-ar.cpp
@@ -168,7 +168,7 @@ LLVM_ATTRIBUTE_NORETURN static void
show_help(const std::string &msg) {
errs() << ToolName << ": " << msg << "\n\n";
cl::PrintHelpMessage();
- std::exit(1);
+ exit(1);
}
// Extract the member filename from the command line for the [relpos] argument
@@ -465,7 +465,7 @@ static void performReadOperation(ArchiveOperation Operation,
return;
for (StringRef Name : Members)
errs() << Name << " was not found\n";
- std::exit(1);
+ exit(1);
}
static void addMember(std::vector<NewArchiveMember> &Members,
OpenPOWER on IntegriCloud