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
qtpreprocessorsupport.h
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QTPREPROCESSORSUPPORT_H
5#define QTPREPROCESSORSUPPORT_H
6
7#if 0
8#pragma qt_class(QtPreprocessorSupport)
9#pragma qt_sync_stop_processing
10#endif
11
12/* These two macros makes it possible to turn the builtin line expander into a
13 * string literal. */
14#define QT_STRINGIFY2(x) #x
15#define QT_STRINGIFY(x) QT_STRINGIFY2(x)
16
17/*
18 Avoid "unused parameter" warnings
19*/
20#define Q_UNUSED(x) (void)x;
21
22#if !defined(Q_UNIMPLEMENTED)
23# define Q_UNIMPLEMENTED() qWarning("Unimplemented code.")
24#endif
25
26#endif // QTPREPROCESSORSUPPORT_H
\inmodule QtCore
Definition qfile.h:93
Definition qlist.h:76
QT_FORWARD_DECLARE_CLASS(QTextStream)
const QString & asString(const QString &s)
Definition qstring.h:1547
static bool isPow2OrZero(quint32 value)
Definition provider.cpp:283
static int arrayLength(const QString &rawType)
Definition provider.cpp:52
static Tracepoint::Field::Type backendType(QString rawType)
Definition provider.cpp:102
#define TYPEDATA_ENTRY(type, backendType)
Definition provider.cpp:99
static QString decayArrayToPointer(QString type)
Definition provider.cpp:82
static quint32 pow2Log2(quint32 v)
Definition provider.cpp:288
static int minumumValueSize(int min, int max)
Definition provider.cpp:267
static QString removeBraces(QString type)
Definition provider.cpp:92
static QString sequenceLength(const QString &rawType)
Definition provider.cpp:66
static Tracepoint parseTracepoint(const Provider &provider, const QString &name, const QStringList &args, const QString &fileName, const int lineNumber)
Definition provider.cpp:186
Provider parseProvider(const QString &filename)
Definition provider.cpp:292
#define qPrintable(string)
Definition qstring.h:1552
#define QT_STRINGIFY2(x)
#define QT_STRINGIFY(x)
int valueSize
Definition provider.h:63