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

/*!
    \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.
*/