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:
@@ -218,7 +218,7 @@ bool ObjectFileJIT::SetLoadAddress(Target &target, lldb::addr_t value,
|
||||
// that size on disk (to avoid __PAGEZERO) and load them
|
||||
SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx));
|
||||
if (section_sp && section_sp->GetFileSize() > 0 &&
|
||||
section_sp->IsThreadSpecific() == false) {
|
||||
!section_sp->IsThreadSpecific()) {
|
||||
if (target.GetSectionLoadList().SetSectionLoadAddress(
|
||||
section_sp, section_sp->GetFileAddress() + value))
|
||||
++num_loaded_sections;
|
||||
|
||||
Reference in New Issue
Block a user