summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qtpreprocessorsupport.qdoc
blob: bc32c677d1305a5448f6ebc02a6be0c1225da4b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only

/*!
    \headerfile <QtPreprocessorSupport>
    \inmodule QtCore
    \ingroup funclists
    \brief Preprocessor-specific macros.
*/

/*!
    \macro Q_UNUSED(name)
    \relates <QtPreprocessorSupport>

    Indicates to the compiler that the parameter with the specified
    \a name is not used in the body of a function. This can be used to
    suppress compiler warnings while allowing functions to be defined
    with meaningful parameter names in their signatures.
*/

/*!
    \macro QT_STRINGIFY(arg)
    \relates <QtPreprocessorSupport>

    The macro can be used to turn the builtin line expander \a arg into a string
    literal.
*/