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 |
27 | |