This was likely an unintentional behavior change made a while ago while trying to reduce duplication. The new behavior will always include the unexpanded macro in the error string. For example, `CHECK_EQ(MACRO(x), MACRO(y))` will now output "MACRO(x) == MACRO(y)" if it fails. Before this change, CHECK and QCHECK were the only macros that had this behavior. Not using function-like macro aliases is a possible alternative here, but unfortunately that would flood the macro namespace downstream with CHECK* and break existing code. PiperOrigin-RevId: 495138582 Change-Id: I6a1afd89a6b9334003362e5d3e55da68f86eec98
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| BUILD.bazel | Loading commit data... | |
| append_truncated.h | Loading commit data... | |
| check_impl.h | Loading commit data... | |
| check_op.cc | Loading commit data... | |
| check_op.h | Loading commit data... | |
| conditions.cc | Loading commit data... | |
| conditions.h | Loading commit data... | |
| config.h | Loading commit data... | |
| flags.h | Loading commit data... | |
| globals.cc | Loading commit data... | |
| globals.h | Loading commit data... | |
| log_format.cc | Loading commit data... | |
| log_format.h | Loading commit data... | |
| log_impl.h | Loading commit data... | |
| log_message.cc | Loading commit data... | |
| log_message.h | Loading commit data... | |
| log_sink_set.cc | Loading commit data... | |
| log_sink_set.h | Loading commit data... | |
| nullguard.h | Loading commit data... | |
| nullstream.h | Loading commit data... | |
| proto.cc | Loading commit data... | |
| proto.h | Loading commit data... | |
| stderr_log_sink_test.cc | Loading commit data... | |
| strip.h | Loading commit data... | |
| structured.h | Loading commit data... | |
| test_actions.cc | Loading commit data... | |
| test_actions.h | Loading commit data... | |
| test_helpers.cc | Loading commit data... | |
| test_helpers.h | Loading commit data... | |
| test_matchers.cc | Loading commit data... | |
| test_matchers.h | Loading commit data... | |
| voidify.h | Loading commit data... |