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// Qt-Security score:significant reason:default
4
5#ifndef QTPREPROCESSORSUPPORT_H
6#define QTPREPROCESSORSUPPORT_H
7
8#if 0
9#pragma qt_class(QtPreprocessorSupport)
10#pragma qt_sync_stop_processing
11#endif
12
13/* These two macros makes it possible to turn the builtin line expander into a
14 * string literal. */
15#define QT_STRINGIFY2(x) #x
16#define QT_STRINGIFY(x) QT_STRINGIFY2(x)
17
18/*
19 Avoid "unused parameter" warnings
20*/
21#define Q_UNUSED(x) (void)x;
22
23#if !defined(Q_UNIMPLEMENTED)
24# define Q_UNIMPLEMENTED() qWarning("Unimplemented code.")
25#endif
26
27#endif // QTPREPROCESSORSUPPORT_H
\inmodule QtCore
Definition qfile.h:71
Definition qlist.h:81
QT_FORWARD_DECLARE_CLASS(QTextStream)
const QString & asString(const QString &s)
Definition qstring.h:1678
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:1683
#define QStringLiteral(str)
Definition qstring.h:1825
#define QT_STRINGIFY2(x)
#define QT_STRINGIFY(x)
int valueSize
Definition provider.h:63