MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / ~GTestLog

Method ~GTestLog

tests/gtest/gtest-all.cc:10761–10767  ·  view source on GitHub ↗

Flushes the buffers and, if severity is GTEST_FATAL, aborts the program.

Source from the content-addressed store, hash-verified

10759
10760// Flushes the buffers and, if severity is GTEST_FATAL, aborts the program.
10761GTestLog::~GTestLog() {
10762 GetStream() << ::std::endl;
10763 if (severity_ == GTEST_FATAL) {
10764 fflush(stderr);
10765 posix::Abort();
10766 }
10767}
10768
10769// Disable Microsoft deprecation warnings for POSIX functions called from
10770// this class (creat, dup, dup2, and close)

Callers

nothing calls this directly

Calls 1

AbortFunction · 0.70

Tested by

no test coverage detected