Eliminate dependency to formatv(). NFC.

llvm-svn: 344212
This commit is contained in:
Fangrui Song 2018-10-11 00:58:00 +00:00
parent 7fa7e6a284
commit a535e0543f
1 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,6 @@
#include "llvm/Option/Option.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FileUtilities.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/Program.h"
@ -864,8 +863,9 @@ std::vector<const char *> ArgParser::tokenize(StringRef S) {
}
void printHelp(const char *Argv0) {
std::string Usage = formatv("{0} [options] file...", Argv0).str();
COFFOptTable().PrintHelp(outs(), Usage.c_str(), "LLVM Linker", false);
COFFOptTable().PrintHelp(outs(),
(std::string(Argv0) + " [options] file...").c_str(),
"LLVM Linker", false);
}
} // namespace coff