Make helper functions/classes/globals static. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228410 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer
2015-02-06 17:51:54 +00:00
parent 2f2dec87fb
commit e003f1ac8c
8 changed files with 27 additions and 18 deletions

View File

@@ -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) {