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 | 7c427c40cb73d6c906d801ed7a42215919ee651e (patch) | |
tree | e0c8b1a5b879e6dc4470d0a2ff85e10b865df422 /llvm/lib/Support | |
parent | c2e93540040beb075a8f9da5af09b4600d939ad1 (diff) | |
download | bcm5719-llvm-7c427c40cb73d6c906d801ed7a42215919ee651e.tar.gz bcm5719-llvm-7c427c40cb73d6c906d801ed7a42215919ee651e.zip |
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.
llvm-svn: 160813
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/Debug.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Support/Debug.cpp b/llvm/lib/Support/Debug.cpp index 9fdb12ecfdc..fa2dd888d16 100644 --- a/llvm/lib/Support/Debug.cpp +++ b/llvm/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; } |