diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2017-05-26 20:09:00 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2017-05-26 20:09:00 +0000 |
commit | debb3c35e05f8de047b8b20d787baf821cd8d904 (patch) | |
tree | e87706887347ce6fa72e09a7ab58777574343afb /llvm/lib/Support/DebugCounter.cpp | |
parent | 674d5792717a1493c104ccee19b92fc5f6065b83 (diff) | |
download | llvm-debb3c35e05f8de047b8b20d787baf821cd8d904.zip llvm-debb3c35e05f8de047b8b20d787baf821cd8d904.tar.gz llvm-debb3c35e05f8de047b8b20d787baf821cd8d904.tar.bz2 |
Make helper functions static. NFC.
llvm-svn: 304029
Diffstat (limited to 'llvm/lib/Support/DebugCounter.cpp')
-rw-r--r-- | llvm/lib/Support/DebugCounter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/DebugCounter.cpp b/llvm/lib/Support/DebugCounter.cpp index 29dae8a..a10ac8e 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( |