summaryrefslogtreecommitdiff
path: root/include/llvm/Support/TimeValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/TimeValue.h')
-rw-r--r--include/llvm/Support/TimeValue.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/Support/TimeValue.h b/include/llvm/Support/TimeValue.h
index e780b50c60..e003297b71 100644
--- a/include/llvm/Support/TimeValue.h
+++ b/include/llvm/Support/TimeValue.h
@@ -130,12 +130,12 @@ namespace sys {
}
/// Determine if \p this is less than \p that.
- /// @returns True iff *this < that.
+ /// @returns True if *this < that.
/// @brief True if this < that.
int operator < (const TimeValue &that) const { return that > *this; }
/// Determine if \p this is greather than \p that.
- /// @returns True iff *this > that.
+ /// @returns True if *this > that.
/// @brief True if this > that.
int operator > (const TimeValue &that) const {
if ( this->seconds_ > that.seconds_ ) {
@@ -147,12 +147,12 @@ namespace sys {
}
/// Determine if \p this is less than or equal to \p that.
- /// @returns True iff *this <= that.
+ /// @returns True if *this <= that.
/// @brief True if this <= that.
int operator <= (const TimeValue &that) const { return that >= *this; }
/// Determine if \p this is greater than or equal to \p that.
- /// @returns True iff *this >= that.
+ /// @returns True if *this >= that.
int operator >= (const TimeValue &that) const {
if ( this->seconds_ > that.seconds_ ) {
return 1;
@@ -163,7 +163,7 @@ namespace sys {
}
/// Determines if two TimeValue objects represent the same moment in time.
- /// @returns True iff *this == that.
+ /// @returns True if *this == that.
int operator == (const TimeValue &that) const {
return (this->seconds_ == that.seconds_) &&
(this->nanos_ == that.nanos_);
@@ -171,7 +171,7 @@ namespace sys {
/// Determines if two TimeValue objects represent times that are not the
/// same.
- /// @returns True iff *this != that.
+ /// @returns True if *this != that.
int operator != (const TimeValue &that) const { return !(*this == that); }
/// Adds two TimeValue objects together.