Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 \macro Q_UNUSED(name)
6 \relates <QtPreprocessorSupport>
7
8 Indicates to the compiler that the parameter with the specified
9 \a name is not used in the body of a function. This can be used to
10 suppress compiler warnings while allowing functions to be defined
11 with meaningful parameter names in their signatures.
12*/
13
14/*!
15 \macro QT_STRINGIFY(arg)
16 \relates <QtPreprocessorSupport>
17
18 The macro can be used to turn the builtin line expander \a arg into a string
19 literal.
20*/