diff options
Diffstat (limited to 'llvm/lib/Support')
| -rw-r--r-- | llvm/lib/Support/CommandLine.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index c8578cb6513..7d9f3b7930a 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/lib/Support/CommandLine.cpp @@ -83,6 +83,8 @@ void StringSaver::anchor() {} //===----------------------------------------------------------------------===// +namespace { + class CommandLineParser { public: // Globals for name and overview of program. Program name is not a string to @@ -190,6 +192,8 @@ public: void printOptionValues(); }; +} // namespace + static ManagedStatic<CommandLineParser> GlobalParser; void cl::AddLiteralOption(Option &O, const char *Name) { |

