[Lldb-commits] [lldb] [lldb] Remove duplicate disjunction in CumulativeSystemTimeIsValid (PR #89680)
Marc Auberer via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 22 15:08:15 PDT 2024
https://github.com/marcauberer created https://github.com/llvm/llvm-project/pull/89680
Resolves #89674
>From d5bd3f32fa0d87c3bed1024857c3fae412702567 Mon Sep 17 00:00:00 2001
From: Marc Auberer <marc.auberer at chillibits.com>
Date: Tue, 23 Apr 2024 00:05:53 +0200
Subject: [PATCH] [lldb] Remove duplicate disjunction in
ProcessInstanceInfo::CumulativeSystemTimeIsValid
---
lldb/include/lldb/Utility/ProcessInfo.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lldb/include/lldb/Utility/ProcessInfo.h b/lldb/include/lldb/Utility/ProcessInfo.h
index e9fe71e1b851d1..85489c0ef0a199 100644
--- a/lldb/include/lldb/Utility/ProcessInfo.h
+++ b/lldb/include/lldb/Utility/ProcessInfo.h
@@ -233,8 +233,7 @@ class ProcessInstanceInfo : public ProcessInfo {
}
bool CumulativeSystemTimeIsValid() const {
- return m_cumulative_system_time.tv_sec > 0 ||
- m_cumulative_system_time.tv_sec > 0;
+ return m_cumulative_system_time.tv_sec > 0;
}
void Dump(Stream &s, UserIDResolver &resolver) const;
More information about the lldb-commits
mailing list