From: Chris Bieneman Date: Fri, 13 Feb 2015 22:54:27 +0000 (+0000) Subject: NFC. More code cleanup making LookupOption a member of the CommandLineParser. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=736c14962e0a3c8806582774eab15e1310890a21;p=oota-llvm.git NFC. More code cleanup making LookupOption a member of the CommandLineParser. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229170 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp index 7d9f3b7930a..9a1e8831064 100644 --- a/lib/Support/CommandLine.cpp +++ b/lib/Support/CommandLine.cpp @@ -190,6 +190,9 @@ public: } void printOptionValues(); + +private: + Option *LookupOption(StringRef &Arg, StringRef &Value); }; } // namespace @@ -242,8 +245,7 @@ void OptionCategory::registerCategory() { /// LookupOption - Lookup the option specified by the specified option on the /// command line. If there is a value specified (after an equal sign) return /// that as well. This assumes that leading dashes have already been stripped. -static Option *LookupOption(StringRef &Arg, StringRef &Value, - const StringMap