From ead246455adf1a215ec2715dad6533073a6beb4e Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 23 Oct 2019 17:53:01 +0000 Subject: Vendor import of stripped lldb trunk r375505, the last commit before the upstream Subversion repository was made read-only, and the LLVM project migrated to GitHub: https://llvm.org/svn/llvm-project/lldb/trunk@375505 --- include/lldb/Utility/Predicate.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'include/lldb/Utility/Predicate.h') diff --git a/include/lldb/Utility/Predicate.h b/include/lldb/Utility/Predicate.h index f1539b576686..cbccc3e91a8b 100644 --- a/include/lldb/Utility/Predicate.h +++ b/include/lldb/Utility/Predicate.h @@ -117,8 +117,7 @@ public: /// How long to wait for the condition to hold. /// /// \return - /// \li m_value if Cond(m_value) is true. - /// \li None otherwise (timeout occurred). + /// m_value if Cond(m_value) is true, None otherwise (timeout occurred). template llvm::Optional WaitFor(C Cond, const Timeout &timeout) { std::unique_lock lock(m_mutex); @@ -151,8 +150,8 @@ public: /// How long to wait for the condition to hold. /// /// \return - /// \li \b true if the \a m_value is equal to \a value - /// \li \b false otherwise (timeout occurred) + /// true if the \a m_value is equal to \a value, false otherwise (timeout + /// occurred). bool WaitForValueEqualTo(T value, const Timeout &timeout = llvm::None) { return WaitFor([&value](T current) { return value == current; }, timeout) != @@ -179,8 +178,7 @@ public: /// How long to wait for the condition to hold. /// /// \return - /// \li m_value if m_value != value - /// \li None otherwise (timeout occurred). + /// m_value if m_value != value, None otherwise (timeout occurred). llvm::Optional WaitForValueNotEqualTo(T value, const Timeout &timeout = llvm::None) { -- cgit v1.2.3