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
This commit is contained in:
@@ -67,7 +67,7 @@ DumpValueObjectOptions &DumpValueObjectOptions::SetUseObjectiveC(bool use) {
|
||||
}
|
||||
|
||||
DumpValueObjectOptions &DumpValueObjectOptions::SetShowSummary(bool show) {
|
||||
if (show == false)
|
||||
if (!show)
|
||||
SetOmitSummaryDepth(UINT32_MAX);
|
||||
else
|
||||
SetOmitSummaryDepth(0);
|
||||
|
||||
Reference in New Issue
Block a user