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.qdoc
Go to the documentation of this file.
1// Copyright (C) 2020 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4/*!
5 \headerfile <QtPreprocessorSupport>
6 \inmodule QtCore
7 \ingroup funclists
8 \brief Preprocessor-specific macros.
9*/
10
11/*!
12 \macro Q_UNUSED(name)
13 \relates <QtPreprocessorSupport>
14
15 Indicates to the compiler that the parameter with the specified
16 \a name is not used in the body of a function. This can be used to
17 suppress compiler warnings while allowing functions to be defined
18 with meaningful parameter names in their signatures.
19*/
20
21/*!
22 \macro QT_STRINGIFY(arg)
23 \relates <QtPreprocessorSupport>
24
25 The macro can be used to turn the builtin line expander \a arg into a string
26 literal.
27*/