forked from OSchip/llvm-project
[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
This commit is contained in:
parent
79ebe31c65
commit
de87d145cc
|
@ -168,7 +168,7 @@ LLVM_ATTRIBUTE_NORETURN static void
|
||||||
show_help(const std::string &msg) {
|
show_help(const std::string &msg) {
|
||||||
errs() << ToolName << ": " << msg << "\n\n";
|
errs() << ToolName << ": " << msg << "\n\n";
|
||||||
cl::PrintHelpMessage();
|
cl::PrintHelpMessage();
|
||||||
std::exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Extract the member filename from the command line for the [relpos] argument
|
// Extract the member filename from the command line for the [relpos] argument
|
||||||
|
@ -465,7 +465,7 @@ static void performReadOperation(ArchiveOperation Operation,
|
||||||
return;
|
return;
|
||||||
for (StringRef Name : Members)
|
for (StringRef Name : Members)
|
||||||
errs() << Name << " was not found\n";
|
errs() << Name << " was not found\n";
|
||||||
std::exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void addMember(std::vector<NewArchiveMember> &Members,
|
static void addMember(std::vector<NewArchiveMember> &Members,
|
||||||
|
|
Loading…
Reference in New Issue