From: NAKAMURA Takumi Date: Thu, 29 Jan 2015 11:06:59 +0000 (+0000) Subject: CommandLineParser: Avoid non-static member nitializer(s). X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=760c72110fa1e73b7eed6555674dae6e063f2ada CommandLineParser: Avoid non-static member nitializer(s). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227428 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp index 2ca9caa1d91..5cda94bae27 100644 --- a/lib/Support/CommandLine.cpp +++ b/lib/Support/CommandLine.cpp @@ -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 MoreHelp; @@ -97,7 +97,9 @@ public: SmallVector