summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/DebugCounter.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2017-05-26 20:09:00 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2017-05-26 20:09:00 +0000
commitdebb3c35e05f8de047b8b20d787baf821cd8d904 (patch)
treee87706887347ce6fa72e09a7ab58777574343afb /llvm/lib/Support/DebugCounter.cpp
parent674d5792717a1493c104ccee19b92fc5f6065b83 (diff)
downloadbcm5719-llvm-debb3c35e05f8de047b8b20d787baf821cd8d904.tar.gz
bcm5719-llvm-debb3c35e05f8de047b8b20d787baf821cd8d904.zip
Make helper functions static. NFC.
llvm-svn: 304029
Diffstat (limited to 'llvm/lib/Support/DebugCounter.cpp')
-rw-r--r--llvm/lib/Support/DebugCounter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/DebugCounter.cpp b/llvm/lib/Support/DebugCounter.cpp
index 29dae8a20f0..a10ac8e8539 100644
--- a/llvm/lib/Support/DebugCounter.cpp
+++ b/llvm/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(
OpenPOWER on IntegriCloud