Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Commit

Permalink
Rename COFFLdOptTable MinGWOptTable for consistency.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@312963 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
rui314 committed Sep 11, 2017
1 parent 5009d71 commit b6bdc68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MinGW/Driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ static const opt::OptTable::Info InfoTable[] = {
};

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
Expand Down Expand Up @@ -94,7 +94,7 @@ searchLibrary(StringRef Name, ArrayRef<StringRef> SearchPaths, bool BStatic) {
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;

Expand All @@ -113,7 +113,7 @@ opt::InputArgList COFFLdOptTable::parse(ArrayRef<const char *> Argv) {
// 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;
Expand Down

0 comments on commit b6bdc68

Please sign in to comment.