[lld] r312963 - Rename COFFLdOptTable MinGWOptTable for consistency.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 11 15:04:25 PDT 2017
Author: ruiu
Date: Mon Sep 11 15:04:25 2017
New Revision: 312963
URL: http://llvm.org/viewvc/llvm-project?rev=312963&view=rev
Log:
Rename COFFLdOptTable MinGWOptTable for consistency.
Modified:
lld/trunk/MinGW/Driver.cpp
Modified: lld/trunk/MinGW/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/MinGW/Driver.cpp?rev=312963&r1=312962&r2=312963&view=diff
==============================================================================
--- lld/trunk/MinGW/Driver.cpp (original)
+++ lld/trunk/MinGW/Driver.cpp Mon Sep 11 15:04:25 2017
@@ -53,9 +53,9 @@ static const opt::OptTable::Info InfoTab
};
namespace {
-class COFFLdOptTable : public opt::OptTable {
+class MinGWOptTable : public opt::OptTable {
public:
- COFFLdOptTable() : OptTable(InfoTable, false) {}
+ MinGWOptTable() : OptTable(InfoTable, false) {}
opt::InputArgList parse(ArrayRef<const char *> Argv);
};
} // namespace
@@ -94,7 +94,7 @@ searchLibrary(StringRef Name, ArrayRef<S
error("unable to find library -l" + Name);
}
-opt::InputArgList COFFLdOptTable::parse(ArrayRef<const char *> Argv) {
+opt::InputArgList MinGWOptTable::parse(ArrayRef<const char *> Argv) {
unsigned MissingIndex;
unsigned MissingCount;
@@ -113,7 +113,7 @@ opt::InputArgList COFFLdOptTable::parse(
// Convert Unix-ish command line arguments to Windows-ish ones and
// then call coff::link.
bool mingw::link(ArrayRef<const char *> ArgsArr, raw_ostream &Diag) {
- COFFLdOptTable Parser;
+ MinGWOptTable Parser;
opt::InputArgList Args = Parser.parse(ArgsArr.slice(1));
std::vector<std::string> LinkArgs;
More information about the llvm-commits
mailing list