Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qassert.h"
#include <QtCore/qlogging.h>
#include <cstdlib>
#include <cstdio>
#include <exception>
#include <new>
Go to the source code of this file.
Functions | |
QT_BEGIN_NAMESPACE void | qAbort () |
void | qt_assert_x (const char *where, const char *what, const char *file, int line) noexcept |
void | qt_check_pointer (const char *n, int l) noexcept |
void | qBadAlloc () |
QT_BEGIN_NAMESPACE void qAbort | ( | ) |
Definition at line 24 of file qassert.cpp.
References Q_UNREACHABLE_IMPL.
Referenced by qDetectCpuFeatures(), and qt_message_fatal().
void qBadAlloc | ( | ) |
Definition at line 168 of file qassert.cpp.
Referenced by QV4::SharedInternalClassData< T >::add(), and QByteDataBuffer::read().
|
noexcept |
Definition at line 111 of file qassert.cpp.
References QMessageLogger::fatal(), file, and line.
|
noexcept |
The Q_CHECK_PTR macro calls this function if an allocation check fails.
Definition at line 152 of file qassert.cpp.