summaryrefslogtreecommitdiff
path: root/absl/base/log_severity.cc
diff options
context:
space:
mode:
authorGravatar Derek Mauro <dmauro@google.com>2022-12-21 07:31:39 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2022-12-21 07:33:17 -0800
commit6a876051b118c86e8bfa51961270055da5948813 (patch)
tree6743ba90a11607eb92365ab96073dc95f5770fd3 /absl/base/log_severity.cc
parent8caa47cfcddbcddd36d22bbab13f4cd9bccbf5c2 (diff)
Adds ABSL_UNREACHABLE(), a public symbol to replace ABSL_INTERNAL_UNREACHABLE
ABSL_UNREACHABLE() is an unreachable statement. A program which reaches one has undefined behavior, and the compiler may optimize accordingly. The behavior is changed to abort the program in !NDEBUG or ABSL_OPTION_HARDENED modes. PiperOrigin-RevId: 496917150 Change-Id: If036b2d9567933fa266fbcd33f3f98c682ad7f41
Diffstat (limited to 'absl/base/log_severity.cc')
0 files changed, 0 insertions, 0 deletions