diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-07-26 20:38:52 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-07-26 20:38:52 +0000 |
commit | ad2b592cf95e5db34a48c6e2c9b1fe55405355fb (patch) | |
tree | c74da7e26dd3b3c16a8e23850526d240361caf3b /lib/Support | |
parent | 0fc44869ffb5c180ec12f86f2fd02a35a1affb4a (diff) | |
download | external_llvm-ad2b592cf95e5db34a48c6e2c9b1fe55405355fb.zip external_llvm-ad2b592cf95e5db34a48c6e2c9b1fe55405355fb.tar.gz external_llvm-ad2b592cf95e5db34a48c6e2c9b1fe55405355fb.tar.bz2 |
Make comments in Debug.cpp and Debug.h consistent. Rename SetCurrentDebugType;
Function names should be camel case, and start with a lower case letter. No
functional change intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160813 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r-- | lib/Support/Debug.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Support/Debug.cpp b/lib/Support/Debug.cpp index 9fdb12e..fa2dd88 100644 --- a/lib/Support/Debug.cpp +++ b/lib/Support/Debug.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file implements a handle way of adding debugging information to your +// This file implements a handy way of adding debugging information to your // code, without it being enabled all of the time, and without having to add // command line options to enable it. // @@ -18,8 +18,8 @@ // can specify '-debug-only=foo' to enable JUST the debug information for the // foo class. // -// When compiling in release mode, the -debug-* options and all code in DEBUG() -// statements disappears, so it does not effect the runtime of the code. +// When compiling without assertions, the -debug-* options and all code in +// DEBUG() statements disappear, so it does not effect the runtime of the code. // //===----------------------------------------------------------------------===// @@ -89,11 +89,11 @@ bool llvm::isCurrentDebugType(const char *DebugType) { return CurrentDebugType.empty() || DebugType == CurrentDebugType; } -/// SetCurrentDebugType - Set the current debug type, as if the -debug-only=X +/// setCurrentDebugType - Set the current debug type, as if the -debug-only=X /// option were specified. Note that DebugFlag also needs to be set to true for /// debug output to be produced. /// -void llvm::SetCurrentDebugType(const char *Type) { +void llvm::setCurrentDebugType(const char *Type) { CurrentDebugType = Type; } |