Commit 6b7b11a9 by Abseil Team Committed by Copybara-Service

Add the fact that CHECK_OK exits the program to the comment of CHECK_OK.

PiperOrigin-RevId: 474916555
Change-Id: Ie6fc9186006280e4db3730ea67c2d99b6faff121
parent ab2e2c4f
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
// `CHECK_OK` and friends validate that the provided `absl::Status` or // `CHECK_OK` and friends validate that the provided `absl::Status` or
// `absl::StatusOr<T>` is OK. If it isn't, they print a failure message that // `absl::StatusOr<T>` 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 // As with all `DCHECK` variants, `DCHECK_OK` has no effect (not even
// evaluating its argument) if `NDEBUG` is enabled. // evaluating its argument) if `NDEBUG` is enabled.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment