From 6b7b11a97fc72849f74610ee4d53403ad417d3cd Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Fri, 16 Sep 2022 15:38:23 -0700 Subject: Add the fact that CHECK_OK exits the program to the comment of CHECK_OK. PiperOrigin-RevId: 474916555 Change-Id: Ie6fc9186006280e4db3730ea67c2d99b6faff121 --- absl/log/check.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'absl') diff --git a/absl/log/check.h b/absl/log/check.h index 30bf76a0..c7303b8d 100644 --- a/absl/log/check.h +++ b/absl/log/check.h @@ -163,7 +163,7 @@ // `CHECK_OK` and friends validate that the provided `absl::Status` or // `absl::StatusOr` is OK. If it isn't, they print a failure message that -// includes the actual status. +// includes the actual status and terminate the program. // // As with all `DCHECK` variants, `DCHECK_OK` has no effect (not even // evaluating its argument) if `NDEBUG` is enabled. -- cgit v1.2.3