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:
@@ -527,7 +527,7 @@ bool ObjectFilePECOFF::ParseSectionHeaders(
|
||||
}
|
||||
}
|
||||
|
||||
return m_sect_headers.empty() == false;
|
||||
return !m_sect_headers.empty();
|
||||
}
|
||||
|
||||
bool ObjectFilePECOFF::GetSectionName(std::string §_name,
|
||||
|
||||
Reference in New Issue
Block a user