Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qassert.cpp File Reference

(59f8b6305b1ff6f6d87561db60b0a6b02fa60ed1)

#include "qassert.h"
#include <QtCore/qlogging.h>
#include <cstdlib>
#include <cstdio>
#include <exception>
#include <new>
Include dependency graph for qassert.cpp:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE Q_NORETURN 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 ()

Function Documentation

◆ qAbort()

Definition at line 24 of file qassert.cpp.

◆ qBadAlloc()

void qBadAlloc ( )

Definition at line 181 of file qassert.cpp.

◆ qt_assert_x()

void qt_assert_x ( const char * where,
const char * what,
const char * file,
int line )
noexcept

Definition at line 123 of file qassert.cpp.

◆ qt_check_pointer()

void qt_check_pointer ( const char * n,
int l )
noexcept

The Q_CHECK_PTR macro calls this function if an allocation check fails.

Definition at line 165 of file qassert.cpp.