mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
CommandLineParser: Avoid non-static member nitializer(s).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227428 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b326bdc595
commit
760c72110f
@ -88,7 +88,7 @@ public:
|
||||
// Globals for name and overview of program. Program name is not a string to
|
||||
// avoid static ctor/dtor issues.
|
||||
std::string ProgramName;
|
||||
const char *ProgramOverview = nullptr;
|
||||
const char *ProgramOverview;
|
||||
|
||||
// This collects additional help to be printed.
|
||||
std::vector<const char *> MoreHelp;
|
||||
@ -97,7 +97,9 @@ public:
|
||||
SmallVector<Option *, 4> SinkOpts;
|
||||
StringMap<Option *> OptionsMap;
|
||||
|
||||
Option *ConsumeAfterOpt = nullptr; // The ConsumeAfter option if it exists.
|
||||
Option *ConsumeAfterOpt; // The ConsumeAfter option if it exists.
|
||||
|
||||
CommandLineParser() : ProgramOverview(nullptr), ConsumeAfterOpt(nullptr) {}
|
||||
|
||||
void ParseCommandLineOptions(int argc, const char *const *argv,
|
||||
const char *Overview);
|
||||
|
Loading…
Reference in New Issue
Block a user