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.aube...@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; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits