diff options
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
| -rw-r--r-- | llvm/lib/Support/CommandLine.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index de5bd79..dab8bee 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/lib/Support/CommandLine.cpp @@ -2343,10 +2343,10 @@ namespace {  class HelpPrinter {  protected:    const bool ShowHidden; -  typedef SmallVector<std::pair<const char *, Option *>, 128> -      StrOptionPairVector; -  typedef SmallVector<std::pair<const char *, SubCommand *>, 128> -      StrSubCommandPairVector; +  using StrOptionPairVector = +      SmallVector<std::pair<const char *, Option *>, 128>; +  using StrSubCommandPairVector = +      SmallVector<std::pair<const char *, SubCommand *>, 128>;    // Print the options. Opts is assumed to be alphabetically sorted.    virtual void printOptions(StrOptionPairVector &Opts, size_t MaxArgLen) {      for (const auto &Opt : Opts)  | 
