diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-07-22 23:48:01 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-07-22 23:48:01 +0000 |
commit | b2a9cf77644b2345ad662dbf93579d4577d36104 (patch) | |
tree | 79980cd5c3ac0d20964467f7f337056e4d9c2fce /lldb/source/Utility/Logging.cpp | |
parent | a61c247ce189efe7641dccb8ad7f85f60fc72220 (diff) | |
download | bcm5719-llvm-b2a9cf77644b2345ad662dbf93579d4577d36104.tar.gz bcm5719-llvm-b2a9cf77644b2345ad662dbf93579d4577d36104.zip |
[Logging] Replace LogIfAnyCategoriesSet with LLDB_LOG.
This patch removes any remaining instances of LogIfAnyCategoriesSet and
replaces them with the LLDB_LOG macro. This in turn made it possible to
make Log::VAPrintf and Log::VAError private.
llvm-svn: 366768
Diffstat (limited to 'lldb/source/Utility/Logging.cpp')
-rw-r--r-- | lldb/source/Utility/Logging.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lldb/source/Utility/Logging.cpp b/lldb/source/Utility/Logging.cpp index c0856e5d926..22f38192fa5 100644 --- a/lldb/source/Utility/Logging.cpp +++ b/lldb/source/Utility/Logging.cpp @@ -62,13 +62,3 @@ Log *lldb_private::GetLogIfAllCategoriesSet(uint32_t mask) { Log *lldb_private::GetLogIfAnyCategoriesSet(uint32_t mask) { return g_log_channel.GetLogIfAny(mask); } - - -void lldb_private::LogIfAnyCategoriesSet(uint32_t mask, const char *format, ...) { - if (Log *log = GetLogIfAnyCategoriesSet(mask)) { - va_list args; - va_start(args, format); - log->VAPrintf(format, args); - va_end(args); - } -} |