summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters/CXXFunctionPointer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/DataFormatters/CXXFunctionPointer.cpp')
-rw-r--r--lldb/source/DataFormatters/CXXFunctionPointer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/DataFormatters/CXXFunctionPointer.cpp b/lldb/source/DataFormatters/CXXFunctionPointer.cpp
index fad67a9d5b7..9059891e5e9 100644
--- a/lldb/source/DataFormatters/CXXFunctionPointer.cpp
+++ b/lldb/source/DataFormatters/CXXFunctionPointer.cpp
@@ -38,7 +38,7 @@ bool lldb_private::formatters::CXXFunctionPointerSummaryProvider(
Address so_addr;
Target *target = exe_ctx.GetTargetPtr();
- if (target && target->GetSectionLoadList().IsEmpty() == false) {
+ if (target && !target->GetSectionLoadList().IsEmpty()) {
if (target->GetSectionLoadList().ResolveLoadAddress(func_ptr_address,
so_addr)) {
so_addr.Dump(&sstr, exe_ctx.GetBestExecutionContextScope(),
OpenPOWER on IntegriCloud