[Lldb-commits] [lldb] [lldb] Remove duplicate disjunction in CumulativeSystemTimeIsValid (PR #89680)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 22 15:08:47 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Marc Auberer (marcauberer)
<details>
<summary>Changes</summary>
Resolves #<!-- -->89674
---
Full diff: https://github.com/llvm/llvm-project/pull/89680.diff
1 Files Affected:
- (modified) lldb/include/lldb/Utility/ProcessInfo.h (+1-2)
``````````diff
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;
``````````
</details>
https://github.com/llvm/llvm-project/pull/89680
More information about the lldb-commits
mailing list