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

PiperOrigin-RevId: 474916555
Change-Id: Ie6fc9186006280e4db3730ea67c2d99b6faff121
pull/1283/head
Abseil Team 3 years ago committed by Copybara-Service
parent ab2e2c4f60
commit 6b7b11a97f
  1. 2
      absl/log/check.h

@ -163,7 +163,7 @@
// `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
// 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.

Loading…
Cancel
Save