From 760c72110fa1e73b7eed6555674dae6e063f2ada Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Thu, 29 Jan 2015 11:06:59 +0000 Subject: [PATCH] CommandLineParser: Avoid non-static member nitializer(s). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227428 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/CommandLine.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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