================ @@ -93,7 +93,7 @@ known to have ok status. For example: Ensuring that the status is ok using common macros -------------------------------------------------- -The check is aware of common macros like ``ABSL_CHECK`` and ``ASSERT_THAT``. +The check is aware of common macros like ``ABSL_CHECK`` or ``ABSL_CHECK_OK``. Those can be used to ensure that the status of a ``StatusOr<T>`` object is ok. For example: ---------------- fmayer wrote:
The object is valid. `ok()` is the name of the method to check whether it is ok (contains a value), so I think ok is the correct term. https://github.com/llvm/llvm-project/pull/180662 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
