summaryrefslogtreecommitdiff
path: root/lib/Support/DebugCounter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/DebugCounter.cpp')
-rw-r--r--lib/Support/DebugCounter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/DebugCounter.cpp b/lib/Support/DebugCounter.cpp
index 29dae8a20f00f..a10ac8e853966 100644
--- a/lib/Support/DebugCounter.cpp
+++ b/lib/Support/DebugCounter.cpp
@@ -6,6 +6,7 @@
using namespace llvm;
+namespace {
// This class overrides the default list implementation of printing so we
// can pretty print the list of debug counter options. This type of
// dynamic option is pretty rare (basically this and pass lists).
@@ -40,6 +41,7 @@ private:
}
}
};
+} // namespace
// Create our command line option.
static DebugCounterList DebugCounterOption(