commit | a6682a413d893bc1ed6190dfadcee806155da66e | [log] [tgz] |
---|---|---|
author | Jonas Devlieghere <jonas@devlieghere.com> | Sat Dec 15 00:15:33 2018 +0000 |
committer | Jonas Devlieghere <jonas@devlieghere.com> | Sat Dec 15 00:15:33 2018 +0000 |
tree | 326b3a6e484e3a3a3a5087663e1284f9b594f2a8 | |
parent | 9d1827331f3f9582fa2ed05913ae4301f2604a19 [diff] [blame] |
Simplify Boolean expressions This patch simplifies boolean expressions acorss LLDB. It was generated using clang-tidy with the following command: run-clang-tidy.py -checks='-*,readability-simplify-boolean-expr' -format -fix $PWD Differential revision: https://reviews.llvm.org/D55584 llvm-svn: 349215
diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp index dab2242..ede8133 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp
@@ -248,7 +248,7 @@ error.Clear(); - if (thread.SafeToCallFunctions() == false) { + if (!thread.SafeToCallFunctions()) { if (log) log->Printf("Not safe to call functions on thread 0x%" PRIx64, thread.GetID());